mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-02-02 02:52:30 +02:00
Pausing now works in LLE-Testing
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@2926 8ced0084-cf51-0410-be5f-012b33b47a6e
This commit is contained in:
parent
33cd584b38
commit
a2855dcf2d
@ -311,6 +311,10 @@ bool gdsp_run()
|
|||||||
|
|
||||||
while (!cr_halt)
|
while (!cr_halt)
|
||||||
{
|
{
|
||||||
|
// Are we running?
|
||||||
|
if(*g_dspInitialize.pEmulatorState)
|
||||||
|
break;
|
||||||
|
|
||||||
gdsp_step();
|
gdsp_step();
|
||||||
|
|
||||||
if (!gdsp_running)
|
if (!gdsp_running)
|
||||||
|
@ -225,8 +225,10 @@ void Initialize(void *init)
|
|||||||
PanicAlert("Failed loading DSP COEF from " DSP_COEF_FILE);
|
PanicAlert("Failed loading DSP COEF from " DSP_COEF_FILE);
|
||||||
}
|
}
|
||||||
|
|
||||||
if (!bCanWork)
|
if (!bCanWork) {
|
||||||
return; // TODO: Don't let it work
|
gdsp_shutdown();
|
||||||
|
return;
|
||||||
|
}
|
||||||
|
|
||||||
bIsRunning = true;
|
bIsRunning = true;
|
||||||
|
|
||||||
@ -356,8 +358,8 @@ void DSP_SendAIBuffer(unsigned int address, int sample_rate)
|
|||||||
// so each sample now triggers the sound stream)
|
// so each sample now triggers the sound stream)
|
||||||
|
|
||||||
// TODO: think about this.
|
// TODO: think about this.
|
||||||
static int counter = 0;
|
//static int counter = 0;
|
||||||
counter++;
|
//counter++;
|
||||||
if ((counter & 31) == 0 && soundStream)
|
if (/*(counter & 31) == 0 &&*/ soundStream)
|
||||||
soundStream->Update();
|
soundStream->Update();
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user