aboutsummaryrefslogtreecommitdiff
path: root/frontend/main.c
diff options
context:
space:
mode:
Diffstat (limited to 'frontend/main.c')
-rw-r--r--frontend/main.c7
1 files changed, 6 insertions, 1 deletions
diff --git a/frontend/main.c b/frontend/main.c
index 372fdf1..7e33f2e 100644
--- a/frontend/main.c
+++ b/frontend/main.c
@@ -297,6 +297,9 @@ void StartGui() {
void SysReset() {
EmuReset();
+
+ // hmh core forgets this
+ CDR_stop();
}
void SysClose() {
@@ -317,7 +320,9 @@ void UpdateMenuSlots() {
}
void OnFile_Exit() {
- printf("OnFile_Exit\n");
+ printf("OnFile_Exit\n");
+ plat_finish();
+ SysClose();
exit(0);
}