From 4e7dc60d37ddb3f0fb6df1556f7afe4d1a5df679 Mon Sep 17 00:00:00 2001 From: StapleButter Date: Wed, 29 Mar 2017 18:59:20 +0200 Subject: * clean up code * working-ish run/pause/reset * proper closing/cleanup * ability to run BIOS alone --- src/NDS.cpp | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'src/NDS.cpp') diff --git a/src/NDS.cpp b/src/NDS.cpp index 0a5afb4..44ca12b 100644 --- a/src/NDS.cpp +++ b/src/NDS.cpp @@ -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; } -- cgit v1.2.3