mirror of
https://github.com/bsnes-emu/bsnes.git
synced 2025-08-09 22:46:38 +02:00
Fix an APU regression that caused some games in DMG mode to play in the wrong pitch
This commit is contained in:
@@ -596,7 +596,7 @@ void GB_apu_run(GB_gameboy_t *gb)
|
||||
else {
|
||||
/* Split it into two */
|
||||
cycles -= gb->apu.channel_4_dmg_delayed_start;
|
||||
gb->apu.apu_cycles = gb->apu.channel_4_dmg_delayed_start * 2;
|
||||
gb->apu.apu_cycles = gb->apu.channel_4_dmg_delayed_start * 4;
|
||||
GB_apu_run(gb);
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user