dolphin/Source/Core/DolphinQt/Config/Graphics
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
..
AdvancedWidget.cpp Audit uses of IsRunning and GetState 2024-06-21 20:52:55 +02:00
AdvancedWidget.h Config: Expose GFX_OVERLAY_PROJ_STATS setting in UI. 2024-04-18 14:45:28 -05:00
ColorCorrectionConfigWindow.cpp Change paper white default to 203 to match the ITU 2023-11-14 20:21:34 +02:00
ColorCorrectionConfigWindow.h Qt: Color Correction window fixes 2023-07-16 16:48:08 -04:00
EnhancementsWidget.cpp Qt: fix 13524 - output resampling mode not loading correctly from ini 2024-04-27 22:11:45 +03:00
EnhancementsWidget.h Video: implement output resampling (upscaling/downscaling) methods 2023-08-18 02:00:55 +03:00
GeneralWidget.cpp Audit uses of IsRunning and GetState 2024-06-21 20:52:55 +02:00
GeneralWidget.h Video: implement custom aspect ratio support (already exposed to Qt). 2023-12-18 02:00:24 +02:00
GraphicsWindow.cpp Qt: Handle Overridden Graphics Backend 2023-12-28 17:28:08 +00:00
GraphicsWindow.h Disable Arbitrary Mipmap Detection checkbox when GPU Texture Decoding is enabled 2023-09-04 13:24:05 -07:00
HacksWidget.cpp Disable Arbitrary Mipmap Detection checkbox when GPU Texture Decoding is enabled 2023-09-04 13:24:05 -07:00
HacksWidget.h Qt: Remove GraphicsWidget class 2023-04-29 14:10:37 -07:00
PostProcessingConfigWindow.cpp Qt: Fix some Post Process Configuration Widget issues n3 2023-06-29 14:13:38 +03:00
PostProcessingConfigWindow.h Qt: Fix some Post Process Configuration Widget issues: 2023-05-26 03:50:51 +03:00