Skip to content

Commit

Permalink
speedy neocdz, fix audio glitch with some games while loading
Browse files Browse the repository at this point in the history
  • Loading branch information
dinkc64 committed Jul 30, 2023
1 parent 4d4697c commit 5902934
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/burn/drv/neogeo/neo_run.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -5110,12 +5110,12 @@ INT32 NeoFrame()
CDEmuGetSoundBuffer(pBurnSoundOut, nBurnSoundLen);
}

// neocd super-speed-loader hack for the impatient
// neocdz super-speed-loader hack for the impatient
if (nNeoSystemType & NEO_SYS_CD && in_cd_ffwd == 0 && NeoCDBios & 0x80) {
in_cd_ffwd = 1;
while (NeoCDAssyStatus == 1 && bNeoCDLoadSector && LC8951RegistersW[10] & 4) {
INT32 cnt = 0;
while (NeoCDAssyStatus == 1 && bNeoCDLoadSector && LC8951RegistersW[10] & 4 && ++cnt < 15) {
NeoFrame();
if (pBurnSoundOut) BurnSoundClear();
}
in_cd_ffwd = 0;
}
Expand Down

0 comments on commit 5902934

Please sign in to comment.