Qt: Ensure thread has not exited if we say it is open
Jeffrey Pfau jeffrey@endrift.com
Sun, 19 Jul 2015 18:14:35 -0700
1 files changed,
1 insertions(+),
1 deletions(-)
jump to
M
src/platform/qt/GameController.h
→
src/platform/qt/GameController.h
@@ -55,7 +55,7 @@ void threadInterrupt();
void threadContinue(); bool isPaused(); - bool isLoaded() { return m_gameOpen; } + bool isLoaded() { return m_gameOpen && GBAThreadIsActive(&m_threadContext); } bool audioSync() const { return m_audioSync; } bool videoSync() const { return m_videoSync; }