diff --git a/src/CxbxKrnl/EmuShared.h b/src/CxbxKrnl/EmuShared.h index 4a786667f..c3afb0bc3 100644 --- a/src/CxbxKrnl/EmuShared.h +++ b/src/CxbxKrnl/EmuShared.h @@ -75,6 +75,12 @@ class EmuShared : public Mutex // ****************************************************************** static void Cleanup(); + // ****************************************************************** + // * Check if parent process is emulating title + // ****************************************************************** + void GetIsEmulating(bool *isEmulating) { Lock(); *isEmulating = m_isEmulating; Unlock(); } + void SetIsEmulating(bool isEmulating) { Lock(); m_isEmulating = isEmulating; Unlock(); } + // ****************************************************************** // * Each child process need to wait until parent process is ready // ****************************************************************** @@ -214,7 +220,8 @@ class EmuShared : public Mutex int m_LedSequence[4]; int m_ScaleViewport; int m_DirectHostBackBufferAccess; - bool m_isReady; + bool m_isReady; + bool m_isEmulating; }; // ******************************************************************