dolphin/Source
JosJuice 72cf2bdb87 Audit uses of IsRunning and GetState
Some pieces of code are calling IsRunning because there's some
particular action that only makes sense when emulation is running, for
instance showing the state of the emulated CPU. IsRunning is appropriate
to use for this. Then there are pieces of code that are calling
IsRunning because there's some particular thing they must avoid doing
e.g. when the CPU thread is running or IOS is running. IsRunning isn't
quite appropriate for this. Such code should also be checking for the
states Starting and Stopping. Keep in mind that:

* When the state is Starting, the state can asynchronously change to
  Running at any time.
* When we try to stop the core, the state gets set to Stopping before we
  take any action to actually stop things.

This commit adds a new method Core::IsUninitialized, and changes all
callers of IsRunning and GetState that look to me like they should be
changed.
2024-06-21 20:52:55 +02:00
..
Android Audit uses of IsRunning and GetState 2024-06-21 20:52:55 +02:00
Core Audit uses of IsRunning and GetState 2024-06-21 20:52:55 +02:00
DSPSpy DSPSpy: Add st3 BLOOP{,I} tests. 2022-09-30 11:07:41 +00:00
DSPTool DolphinQt: A Ubiquitous Signal For When Symbols Change 2024-03-28 09:57:22 -07:00
PCH bump minimum VS version to 17.6 2023-05-16 20:21:36 -07:00
UnitTests Merge pull request #12837 from JosJuice/cmake-one-tests-binary 2024-06-10 22:47:45 +02:00
VSProps Update rcheevos submodule to newest master. 2024-04-03 15:03:36 -04:00
.clang-format Replace Cpp11 (A Deprecated alias for Latest) in .clang-format 2022-06-22 08:57:32 +10:00
CMakeLists.txt CMakeLists: Add Clang's Specific WShadow Diagnostics 2024-03-09 15:34:39 -08:00
dolphin-emu.sln Externals: Convert minizip-ng To Submodule 2024-05-03 12:43:33 -07:00