mirror of
https://github.com/kichikuou/xsystem35-sdl2.git
synced 2026-10-13 01:28:14 +03:00
Windows: Add "Restart" menu command
It resets all VM states and restart the game.
This commit is contained in:
+7
-1
@@ -1527,5 +1527,11 @@ void commands2F8B() {
|
||||
|
||||
void commands2F8C() {
|
||||
DEBUG_COMMAND("sysReset:\n");
|
||||
sys_reset();
|
||||
nact_quit(TRUE);
|
||||
}
|
||||
|
||||
void cmd2F_reset(void) {
|
||||
cb_sel_init_page = 0;
|
||||
cb_sel_init_address = 0;
|
||||
memset(fnctbl, 0, sizeof(fnctbl));
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user