Set state.spu.ch1.master = true (Fixes #1539)

This fixes #1539. Prior to 2.2.2, state.spu.ch1.master was set to false when using a BIOS. Starting with 2.2.2, the Game Boy BIOS is required. Setting this to true causes a buzzing sound while the Nintendo logo drops during BIOS.
This commit is contained in:
sornerol 2019-05-13 13:45:27 -05:00
parent 729721b78f
commit bfa8f20cf9
2 changed files with 1 additions and 1 deletions

View File

@ -1278,7 +1278,7 @@ void gambatte::setInitState(SaveState &state, const bool cgb, const bool gbaCgbM
state.spu.ch1.lcounter.counter = SoundUnit::COUNTER_DISABLED;
state.spu.ch1.lcounter.lengthCounter = 0;
state.spu.ch1.nr4 = 0;
state.spu.ch1.master = true;
state.spu.ch1.master = false;
state.spu.ch2.duty.nextPosUpdate = SoundUnit::COUNTER_DISABLED;
state.spu.ch2.duty.nr3 = 0;

Binary file not shown.