X-Git-Url: https://notaz.gp2x.de/cgi-bin/gitweb.cgi?p=pcsx_rearmed.git;a=blobdiff_plain;f=frontend%2Fmain.c;h=7e33f2eea04d866242d47a834522f58db88676b1;hp=372fdf1d7965fa94267fce3412cf71823ad0d810;hb=bd6267e616cc4966fadf971019fe15db2469e97d;hpb=d4a1e87d6a8f5d5de071344fd0718ca32a520850 diff --git a/frontend/main.c b/frontend/main.c index 372fdf1d..7e33f2ee 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); }