[Project64] Add end emulation to N64Class
This commit is contained in:
parent
d3970065fc
commit
dff58bbbad
|
@ -547,6 +547,11 @@ void CN64System::StartEmulation(bool NewThread)
|
||||||
WriteTrace(TraceN64System, TraceDebug, "Done (NewThread: %s)", NewThread ? "true" : "false")
|
WriteTrace(TraceN64System, TraceDebug, "Done (NewThread: %s)", NewThread ? "true" : "false")
|
||||||
}
|
}
|
||||||
|
|
||||||
|
void CN64System::EndEmulation(void)
|
||||||
|
{
|
||||||
|
m_EndEmulation = true;
|
||||||
|
}
|
||||||
|
|
||||||
void CN64System::Pause()
|
void CN64System::Pause()
|
||||||
{
|
{
|
||||||
if (m_EndEmulation)
|
if (m_EndEmulation)
|
||||||
|
|
|
@ -65,6 +65,7 @@ public:
|
||||||
void CloseCpu();
|
void CloseCpu();
|
||||||
void ExternalEvent(SystemEvent action); //covers gui interacting and timers etc..
|
void ExternalEvent(SystemEvent action); //covers gui interacting and timers etc..
|
||||||
void StartEmulation(bool NewThread);
|
void StartEmulation(bool NewThread);
|
||||||
|
void EndEmulation();
|
||||||
void SyncToAudio();
|
void SyncToAudio();
|
||||||
void IncreaseSpeed() { m_Limiter.IncreaseSpeed(); }
|
void IncreaseSpeed() { m_Limiter.IncreaseSpeed(); }
|
||||||
void DecreaseSpeed() { m_Limiter.DecreaseSpeed(); }
|
void DecreaseSpeed() { m_Limiter.DecreaseSpeed(); }
|
||||||
|
|
Loading…
Reference in New Issue