aboutsummaryrefslogtreecommitdiff
path: root/src/NDS.cpp
diff options
context:
space:
mode:
authorStapleButter <thetotalworm@gmail.com>2017-03-29 18:59:20 +0200
committerStapleButter <thetotalworm@gmail.com>2017-03-29 18:59:20 +0200
commit4e7dc60d37ddb3f0fb6df1556f7afe4d1a5df679 (patch)
tree1458128609a5d6deaba935ee6c9f59493ad18bea /src/NDS.cpp
parentc0734352ab824d3b2c28336ae12ce21f2b40a606 (diff)
* clean up code
* working-ish run/pause/reset * proper closing/cleanup * ability to run BIOS alone
Diffstat (limited to 'src/NDS.cpp')
-rw-r--r--src/NDS.cpp8
1 files changed, 8 insertions, 0 deletions
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;
}