Windows: Implement reset menu command

A bit hacky but works.
This commit is contained in:
kichikuou
2020-10-10 15:26:01 +09:00
parent da53cda5ab
commit 9637701340
5 changed files with 16 additions and 10 deletions
+3 -1
View File
@@ -96,6 +96,7 @@ NACT::NACT(int sys_ver, uint32 crc32_a, uint32 crc32_b, const char* font_file, c
#endif
terminate = false;
restart_after_terminate = false;
}
NACT::~NACT()
@@ -116,7 +117,7 @@ NACT::~NACT()
platform_finalize();
}
void NACT::mainloop()
bool NACT::mainloop()
{
int sleep_cnt = 0;
@@ -127,6 +128,7 @@ void NACT::mainloop()
SDL_Delay(10);
}
}
return restart_after_terminate;
}
// コマンドパーサ