Merge branch 'master' of github.com:TASVideos/fceux
This commit is contained in:
commit
e7e6aac71d
|
@ -564,9 +564,10 @@ void FCEU_SoundCPUHook(int cycles)
|
|||
/* Unbelievably ugly hack */
|
||||
if(FSettings.SndRate)
|
||||
{
|
||||
soundtsoffs+=DMCacc;
|
||||
DoPCM();
|
||||
soundtsoffs-=DMCacc;
|
||||
const uint32 fudge = std::min<uint32>(-DMCacc, soundtsoffs + timestamp);
|
||||
soundtsoffs -= fudge;
|
||||
DoPCM();
|
||||
soundtsoffs += fudge;
|
||||
}
|
||||
RawDALatch+=t;
|
||||
if(RawDALatch&0x80)
|
||||
|
|
Loading…
Reference in New Issue