Prepare support shared emulating state
This commit is contained in:
parent
b9827337f6
commit
71a542d790
|
@ -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;
|
||||
};
|
||||
|
||||
// ******************************************************************
|
||||
|
|
Loading…
Reference in New Issue