Skip to content

Commit

Permalink
Mark CGB hardware registers as unmapped
Browse files Browse the repository at this point in the history
  • Loading branch information
maxfierke committed Jan 7, 2024
1 parent 3477c07 commit d6d57ff
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 @@ -60,6 +60,7 @@ func NewDMGDebug(debugger debug.Debugger) (*DMG, error) {
mmu.AddHandler(mem.MemRegion{Start: 0xFF40, End: 0xFF4B}, lcd) // LCD control registers

mmu.AddHandler(mem.MemRegion{Start: 0xFF0F, End: 0xFF0F}, ic)
mmu.AddHandler(mem.MemRegion{Start: 0xFF4D, End: 0xFF77}, unmapped) // CGB regs
mmu.AddHandler(mem.MemRegion{Start: 0xFFFF, End: 0xFFFF}, ic)

return &DMG{
Expand Down

0 comments on commit d6d57ff

Please sign in to comment.