Skip to content

Commit 9b77777

Browse files
committed
Exit 0 on restart workaround
1 parent 702887f commit 9b77777

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/hardware/memory.cpp

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1605,6 +1605,7 @@ void On_Software_CPU_Reset() {
16051605
if (cpudecoder == &CPU_Core_Dyn_X86_Run || cpudecoder == &CPU_Core_Dynrec_Run) {
16061606
LOG_MSG("Warning: C++ exception method is not compatible with dynamic core when emulating reset");
16071607
RebootLanguage("");
1608+
exit(0);
16081609
}
16091610
#endif
16101611

0 commit comments

Comments
 (0)