Remove two states from the CoreState enum.

This commit is contained in:
Henrik Rydgård committed 2025-04-05 09:18:56 +02:00
1 parent 24b30cc709
commit b27a022e7c
11 files changed
+17 -33

No files matched your search

+2 -7
View File
@@ -276,8 +276,6 @@ void MainThreadFunc() {
DEBUG_LOG(Log::Boot, "Done.");
_dbg_assert_(coreState != CORE_POWERDOWN);
g_inLoop = true;
if (useEmuThread) {
@@ -285,10 +283,9 @@ void MainThreadFunc() {
}
graphicsContext->ThreadStart();
if (g_Config.bBrowse)
if (g_Config.bBrowse) {
PostMessage(MainWindow::GetHWND(), WM_COMMAND, ID_FILE_LOAD, 0);
Core_Resume();
}
if (useEmuThread) {
while (emuThreadState != (int)EmuThreadState::DISABLED) {
@@ -326,8 +323,6 @@ void MainThreadFunc() {
EmuThreadJoin();
}
shutdown:
if (!useEmuThread) {
NativeShutdownGraphics();
}