Android: Fix crash when loading input profile ingame
This commit is contained in:
@ -44,6 +44,7 @@ public:
|
||||
|
||||
bool IsEmulationThreadRunning() const { return m_emulation_thread_running.load(); }
|
||||
bool IsEmulationThreadPaused() const;
|
||||
bool IsOnEmulationThread() const;
|
||||
void RunOnEmulationThread(std::function<void()> function, bool blocking = false);
|
||||
void PauseEmulationThread(bool paused);
|
||||
void StopEmulationThreadLoop();
|
||||
@ -109,6 +110,7 @@ private:
|
||||
|
||||
std::atomic_bool m_emulation_thread_stop_request{false};
|
||||
std::atomic_bool m_emulation_thread_running{false};
|
||||
std::thread::id m_emulation_thread_id{};
|
||||
|
||||
HostDisplay::Alignment m_display_alignment = HostDisplay::Alignment::Center;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user