Skip to content

Commit

Permalink
Add missing mapping of bootrom enable/disable register
Browse files Browse the repository at this point in the history
  • Loading branch information
maxfierke committed Oct 17, 2024
1 parent 03806e8 commit 2311c45
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions hardware/dmg.go
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,7 @@ func WithBootROM(r io.Reader) DMGOption {
dmg.bootROM.LoadROM(rom)

dmg.mmu.AddHandler(mem.MemRegion{Start: 0x0000, End: 0x00FF}, dmg.bootROM)
dmg.mmu.AddHandler(mem.MemRegion{Start: 0xFF50, End: 0xFF50}, dmg.bootROM)

return nil
}
Expand Down

0 comments on commit 2311c45

Please sign in to comment.