diff options
Diffstat (limited to 'src/NDS.cpp')
-rw-r--r-- | src/NDS.cpp | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/src/NDS.cpp b/src/NDS.cpp index 574f557..52a1de0 100644 --- a/src/NDS.cpp +++ b/src/NDS.cpp @@ -135,7 +135,6 @@ bool Init() if (!SPI::Init()) return false; if (!RTC::Init()) return false; - Reset(); return true; } @@ -307,13 +306,14 @@ void Reset() KeyInput = 0x007F03FF; _soundbias = 0; +} + +void LoadROM(const char* path, bool direct) +{ + Reset(); - // test - //LoadROM(); - //LoadFirmware(); - // a_interp2.nds a_rounding (10) (11) a_slope (5) - if (NDSCart::LoadROM("rom/nsmb.nds")) - Running = true; // hax + if (NDSCart::LoadROM(path, direct)) + Running = true; } |