FrameAdvance: Fix continuous frame advancing while the debug UI is open. Blocks signals from being spammed to update the UI.

This commit is contained in:
TryTwo
2024-05-17 21:16:59 -07:00
parent 2aec195ec8
commit f29fe15d77
4 changed files with 28 additions and 1 deletions

View File

@ -120,6 +120,9 @@ public:
bool IsUSBKeyboardConnected() const;
void SetUSBKeyboardConnected(bool connected);
void SetIsContinuouslyFrameStepping(bool is_stepping);
bool GetIsContinuouslyFrameStepping() const;
// Graphics
Config::ShowCursor GetCursorVisibility() const;
bool GetLockCursor() const;
@ -228,6 +231,8 @@ private:
Settings();
bool m_batch = false;
std::atomic<bool> m_continuously_frame_stepping = false;
std::shared_ptr<NetPlay::NetPlayClient> m_client;
std::shared_ptr<NetPlay::NetPlayServer> m_server;
ControllerInterface::HotplugCallbackHandle m_hotplug_callback_handle;