LLE-testing now stops on pressing the stop button.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@2847 8ced0084-cf51-0410-be5f-012b33b47a6e
This commit is contained in:
parent
c33db95bf5
commit
9cae54fbb8
|
@ -312,6 +312,9 @@ bool gdsp_run()
|
||||||
while (!CR_HALT)
|
while (!CR_HALT)
|
||||||
{
|
{
|
||||||
gdsp_step();
|
gdsp_step();
|
||||||
|
|
||||||
|
if(!gdsp_running)
|
||||||
|
break;
|
||||||
}
|
}
|
||||||
|
|
||||||
gdsp_running = false;
|
gdsp_running = false;
|
||||||
|
|
|
@ -258,14 +258,14 @@ void Initialize(void *init)
|
||||||
|
|
||||||
void DSP_StopSoundStream()
|
void DSP_StopSoundStream()
|
||||||
{
|
{
|
||||||
|
gdsp_stop();
|
||||||
|
bIsRunning = false;
|
||||||
delete g_hDSPThread;
|
delete g_hDSPThread;
|
||||||
g_hDSPThread = NULL;
|
g_hDSPThread = NULL;
|
||||||
}
|
}
|
||||||
|
|
||||||
void Shutdown(void)
|
void Shutdown(void)
|
||||||
{
|
{
|
||||||
bIsRunning = false;
|
|
||||||
gdsp_stop();
|
|
||||||
AudioCommon::ShutdownSoundStream();
|
AudioCommon::ShutdownSoundStream();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue