Typo
This commit is contained in:
parent
f64da1864f
commit
38c0cb3323
@ -430,8 +430,8 @@ void GB_apu_init(GB_gameboy_t *gb)
|
|||||||
{
|
{
|
||||||
memset(&gb->apu, 0, sizeof(gb->apu));
|
memset(&gb->apu, 0, sizeof(gb->apu));
|
||||||
gb->apu.lf_div = 1;
|
gb->apu.lf_div = 1;
|
||||||
/* APU glitch: When turning the APU on while DIV's bit 4 (or 5 in double speed mode), the
|
/* APU glitch: When turning the APU on while DIV's bit 4 (or 5 in double speed mode) is on,
|
||||||
first DIV/APU event is skipped. */
|
the first DIV/APU event is skipped. */
|
||||||
if (gb->div_counter & (gb->cgb_double_speed? 0x2000 : 0x1000)) {
|
if (gb->div_counter & (gb->cgb_double_speed? 0x2000 : 0x1000)) {
|
||||||
gb->apu.skip_div_event = true;
|
gb->apu.skip_div_event = true;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user