Skip to content

Commit

Permalink
Merge pull request #74 from SigmaVirus/patch-1
Browse files Browse the repository at this point in the history
Fix DK94 issue with bootloader enabled
  • Loading branch information
bparker06 committed Feb 17, 2017
2 parents 82cc2c0 + f08adc4 commit 54aa8a5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion libgambatte/src/gambatte.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,7 @@ void GB::Priv::full_init() {
// the hw registers must be zeroed out to prevent the logo from being garbled
std::memset((void*)(ioamhram + 0x100), 0x00, 0x100);
//init values taken from SameBoy
ioamhram[0x100] = 0x0F;//joypad initial value
ioamhram[0x100] = 0xCF;//joypad initial value
ioamhram[0x102] = serialctrl;//serialctrl
ioamhram[0x148] = 0xFC;//object palette 0
ioamhram[0x149] = 0xFC;//object palette 1
Expand Down

0 comments on commit 54aa8a5

Please sign in to comment.