mirror of
https://github.com/hrydgard/ppsspp.git
synced 2026-10-14 23:10:33 +02:00
Be consistent about how we read and update the UI state variable
This commit is contained in:
1 parent
b5435260b0
commit
6ec74ef99e
10 files changed
+30
-24
No files matched your search
+5
-1
@@ -72,7 +72,7 @@ enum CPUThreadState {
|
||||
|
||||
MetaFileSystem pspFileSystem;
|
||||
ParamSFOData g_paramSFO;
|
||||
GlobalUIState globalUIState;
|
||||
static GlobalUIState globalUIState;
|
||||
static CoreParameter coreParameter;
|
||||
static PSPMixer *mixer;
|
||||
static std::thread *cpuThread = NULL;
|
||||
@@ -96,6 +96,10 @@ void UpdateUIState(GlobalUIState newState) {
|
||||
}
|
||||
}
|
||||
|
||||
GlobalUIState GetUIState() {
|
||||
return globalUIState;
|
||||
}
|
||||
|
||||
bool IsAudioInitialised() {
|
||||
return mixer != NULL;
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user