Reorganize flags for exit and restart

Pure refactoring, no user-visible changes.
This commit is contained in:
kichikuou
2023-09-27 16:41:05 +09:00
parent 093f4cf507
commit 30ca8b714b
8 changed files with 32 additions and 42 deletions
+1 -2
View File
@@ -1242,8 +1242,7 @@ void NACT_Sys2::cmd_y()
RND = 0;
break;
case 255:
post_quit = (param == 1) ? true : false;
fatal_error = true;
quit(param == 1 ? NACT_HALT : 0);
break;
}
// Y1