[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
@@ -22,7 +22,7 @@ endif()
target_link_libraries(
nostalgia
NostalgiaAppModules
NostalgiaKeelModules
OxLogConn
)
+2 -2
View File
@@ -8,7 +8,7 @@
#include <nostalgia/core/core.hpp>
#include <nostalgia/appmodules/appmodules.hpp>
#include <nostalgia/appmodules/keelmodules.hpp>
#include "app.hpp"
@@ -17,7 +17,7 @@ static ox::Error run(int argc, const char **argv) noexcept {
#ifdef OX_USE_STDLIB
// GBA doesn't need the modules and calling this doubles the size of the
// binary.
nostalgia::loadModules();
nostalgia::registerKeelModules();
#endif
if (argc < 2) {
oxErr("Please provide path to project directory or OxFS file.\n");