Move out two more functions from Core.cpp. Clean up Windows includes

This commit is contained in:
Henrik Rydgård committed 2024-12-08 12:12:02 +01:00
1 parent 83af54950f
commit 080798b5dd
20 files changed
+33 -35

No files matched your search

-9
View File
@@ -120,15 +120,6 @@ void Core_Stop() {
}
}
bool Core_ShouldRunBehind() {
// Enforce run-behind if ad-hoc connected
return g_Config.bRunBehindPauseMenu || Core_MustRunBehind();
}
bool Core_MustRunBehind() {
return __NetAdhocConnected();
}
void Core_UpdateState(CoreState newState) {
if ((coreState == CORE_RUNNING_CPU || coreState == CORE_NEXTFRAME) && newState != CORE_RUNNING_CPU)
coreStatePending = true;