More include untangling

This commit is contained in:
Henrik Rydgård
2013-12-29 23:44:35 +01:00
parent 79ff2f0ba8
commit 87f203a5b8
14 changed files with 79 additions and 64 deletions
+9
View File
@@ -33,6 +33,7 @@
#include "Core/MIPS/MIPSAnalyst.h"
#include "Core/MIPS/JitCommon/JitCommon.h"
#include "Core/Host.h"
#include "Core/System.h"
#include "Core/PSPMixer.h"
#include "Core/HLE/HLE.h"
@@ -81,6 +82,14 @@ volatile CoreState coreState = CORE_STEPPING;
volatile bool coreStatePending = false;
static volatile CPUThreadState cpuThreadState = CPU_THREAD_NOT_RUNNING;
void UpdateUIState(GlobalUIState newState) {
// Never leave the EXIT state.
if (globalUIState != newState && globalUIState != UISTATE_EXIT) {
globalUIState = newState;
host->UpdateDisassembly();
}
}
bool IsAudioInitialised() {
return mixer != NULL;
}