aboutsummaryrefslogtreecommitdiff
path: root/src/NDS.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/NDS.h')
-rw-r--r--src/NDS.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/NDS.h b/src/NDS.h
index 404e07c..571952d 100644
--- a/src/NDS.h
+++ b/src/NDS.h
@@ -21,6 +21,7 @@
#include <string>
+#include "Platform.h"
#include "Savestate.h"
#include "types.h"
@@ -226,7 +227,9 @@ bool Init();
void DeInit();
void Reset();
void Start();
-void Stop();
+
+/// Stop the emulator.
+void Stop(Platform::StopReason reason = Platform::StopReason::External);
bool DoSavestate(Savestate* file);