Prepare support shared emulating state

This commit is contained in:
RadWolfie 2018-06-10 10:21:31 -05:00
parent b9827337f6
commit 71a542d790
1 changed files with 8 additions and 1 deletions

View File

@ -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;
};
// ******************************************************************