Fix an APU regression that caused some games in DMG mode to play in the wrong pitch

This commit is contained in:
Lior Halphon 2021-03-01 21:44:54 +02:00
parent d2ed1343e5
commit ea97c1dc0b
1 changed files with 1 additions and 1 deletions

View File

@ -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);
}
}