diff options
Diffstat (limited to 'backends/platform/3ds/main.cpp')
-rw-r--r-- | backends/platform/3ds/main.cpp | 11 |
1 files changed, 5 insertions, 6 deletions
diff --git a/backends/platform/3ds/main.cpp b/backends/platform/3ds/main.cpp index 18df14b93d..6e33253c08 100644 --- a/backends/platform/3ds/main.cpp +++ b/backends/platform/3ds/main.cpp @@ -21,6 +21,8 @@ */ #include "osystem.h" +#include "backends/plugins/3ds/3ds-provider.h" + #include <3ds.h> #include <malloc.h> @@ -41,12 +43,9 @@ int main(int argc, char *argv[]) { g_system = new _3DS::OSystem_3DS(); assert(g_system); - // Invoke the actual ScummVM main entry point -// if (argc > 2) -// res = scummvm_main(argc-2, &argv[2]); -// else -// res = scummvm_main(argc, argv); -// scummvm_main(0, nullptr); +#ifdef DYNAMIC_MODULES + PluginManager::instance().addPluginProvider(new CTRPluginProvider()); +#endif int res = scummvm_main(argc, argv); |