[nostalgia,studio] Make module handling consistent

This commit is contained in:
2023-06-03 14:44:33 -05:00
parent 2874620bc6
commit ed169eb9b8
34 changed files with 257 additions and 209 deletions
+1 -1
View File
@@ -5,7 +5,7 @@ target_link_libraries(
OxClArgs
OxLogConn
Keel
NostalgiaAppModules
NostalgiaKeelModules
)
if(CMAKE_BUILD_TYPE STREQUAL "Release" AND NOT WIN32)
+2 -2
View File
@@ -10,7 +10,7 @@
#include <keel/keel.hpp>
#include <nostalgia/appmodules/appmodules.hpp>
#include <nostalgia/appmodules/keelmodules.hpp>
using namespace nostalgia;
@@ -52,7 +52,7 @@ static ox::Error generateTypes(ox::TypeStore *ts) noexcept {
}
static ox::Error run(const ox::ClArgs &args) noexcept {
loadModules();
registerKeelModules();
const auto argSrc = args.getString("src", "");
const auto argRomBin = args.getString("rom-bin", "");
if (argSrc == "") {