[nostalgia,studio] Make module handling consistent
This commit is contained in:
@@ -22,7 +22,7 @@ endif()
|
||||
|
||||
target_link_libraries(
|
||||
nostalgia
|
||||
NostalgiaAppModules
|
||||
NostalgiaKeelModules
|
||||
OxLogConn
|
||||
)
|
||||
|
||||
|
||||
@@ -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");
|
||||
|
||||
Reference in New Issue
Block a user