Minor bugfix so GSF decoder doesn't slowly overbuffer into oblivion
parent
0b966e9014
commit
87198d04c0
|
@ -734,8 +734,9 @@ struct gsf_sound_out : public GBASoundOut
|
|||
{
|
||||
GBASystem * system = ( GBASystem * ) emulatorCore;
|
||||
struct gsf_sound_out * sound_out = ( struct gsf_sound_out * ) emulatorExtra;
|
||||
|
||||
CPULoop( system, 250000 );
|
||||
|
||||
if ( frames * 4 > sound_out->samples_written )
|
||||
CPULoop( system, 250000 );
|
||||
|
||||
UInt32 frames_rendered = sound_out->samples_written / 4;
|
||||
|
||||
|
|
Loading…
Reference in New Issue