Windows: Avoid segfault if memory except on boot.

This commit is contained in:
Unknown W. Brackets
2021-03-28 19:44:17 -07:00
parent 1d413c2470
commit f8306891c5
3 changed files with 7 additions and 4 deletions
+3
View File
@@ -263,6 +263,9 @@ void MainThreadFunc() {
if (!Core_IsActive())
UpdateUIState(UISTATE_MENU);
Core_Run(g_graphicsContext);
if (coreState == CORE_BOOT_ERROR) {
break;
}
}
}
Core_Stop();