dolphin-emulator/Source/Android/jni
JosJuice 962230f91e Core: Store current state in less places
Core::GetState reads from four different pieces of state: s_is_stopping,
s_hardware_initialized, s_is_booting, and CPUManager::IsStepping.
I'm keeping that last one as is for now because there's code in Dolphin
that sets it directly, but we can unify the other three to make things
easier to reason about.

This commit also gets rid of s_is_started. This was previously used in
Core::IsRunningAndStarted to ensure true wouldn't be returned until the
CPU thread was started, but it wasn't used in Core::GetState, so
Core::GetState would happily return State::Running after we had
initialized the hardware but before we had initialized the CPU thread.
As far as I know, there are no callers that have any real need to know
whether the boot process is currently initializing the hardware or the
CPU thread. Perhaps once upon a time there was a desire to make the
apploader debuggable, but a long time has passed without anyone stepping
up to implement it, and the way CBoot::RunApploader is implemented makes
it rather difficult. So this commit makes all the functions in Core.cpp
consider the core to still be starting until the CPU thread is started.
2024-06-21 20:46:44 +02:00
..
AndroidCommon NativeLibrary: Create displayToastMsg Method 2024-04-06 15:41:23 -07:00
Cheats Common/IniFile: Move interface into Common namespace 2023-04-13 10:19:28 -04:00
Config Android: Expose config changed callbacks 2023-12-07 21:09:17 +01:00
GameList Android: Use JNI for setting/getting ISO paths 2023-09-02 12:58:20 +02:00
Input InputCommon: Unify GetProfileName and GetProfileDirectoryName 2024-02-04 17:55:08 +01:00
CMakeLists.txt Android: Expose config changed callbacks 2023-12-07 21:09:17 +01:00
GpuDriver.cpp Android: Remove a stray backtick 2023-10-01 13:37:04 +02:00
Host.cpp Android: Move host thread lock to a separate file 2023-06-12 23:39:42 +02:00
Host.h Android: And Lock and Unlock wrappers to HostThreadLock 2023-06-12 23:39:42 +02:00
InfinityConfig.cpp Android: Add Hashmap to IDCache 2023-05-28 19:01:21 +12:00
MainAndroid.cpp Core: Store current state in less places 2024-06-21 20:46:44 +02:00
RiivolutionPatches.cpp Android: Add Riivolution patch configuration 2021-10-30 23:24:37 +02:00
SkylanderConfig.cpp Skylanders: Improve figure data view and generation 2023-11-05 18:06:10 +01:00
WiiUtils.cpp IOS/ES: Split ESDevice into ESCore and ESDevice. 2023-05-15 20:41:05 +02:00