* clean up code

* working-ish run/pause/reset
* proper closing/cleanup
* ability to run BIOS alone
This commit is contained in:
StapleButter
2017-03-29 18:59:20 +02:00
parent c0734352ab
commit 4e7dc60d37
6 changed files with 212 additions and 391 deletions

View File

@ -328,6 +328,14 @@ void LoadROM(const char* path, bool direct)
if (NDSCart::LoadROM(path, direct))
Running = true;
else
printf("Failed to load ROM %s\n", path);
}
void LoadBIOS()
{
Reset();
Running = true;
}