Core::GetState: Avoid Global System Accessor

This commit is contained in:
mitaclaw committed 2024-04-08 16:23:23 -07:00
1 parent db0cd82326
commit eb92d6f0a8
42 files changed
+135 -101

No files matched your search

+2 -2
View File
@@ -144,7 +144,7 @@ bool WantsDeterminism();
// [NOT THREADSAFE] For use by Host only
void SetState(State state, bool report_state_change = true);
State GetState();
State GetState(Core::System& system);
void SaveScreenShot();
void SaveScreenShot(std::string_view name);
@@ -185,7 +185,7 @@ void QueueHostJob(std::function<void(Core::System&)> job, bool run_during_stop =
// WMUserJobDispatch will be sent when something is added to the queue.
void HostDispatchJobs(Core::System& system);
void DoFrameStep();
void DoFrameStep(Core::System& system);
void UpdateInputGate(bool require_focus, bool require_full_focus = false);