Skip to content

Commit

Permalink
Debugger: GB - Register viewer - Fixed sprites enabled flag
Browse files Browse the repository at this point in the history
  • Loading branch information
SourMesen committed May 26, 2024
1 parent 829c671 commit d0adadd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion UI/Debugger/ViewModels/RegisterViewerWindowViewModel.cs
Original file line number Diff line number Diff line change
Expand Up @@ -659,7 +659,7 @@ private RegisterViewerTab GetGbLcdTab(ref GbState gb, string tabPrefix = "")

new RegEntry("$FF40", "LCD Control (LCDC)"),
new RegEntry("$FF40.0", "Background Enabled", ppu.BgEnabled),
new RegEntry("$FF40.1", "Sprites Enabled", ppu.BgEnabled),
new RegEntry("$FF40.1", "Sprites Enabled", ppu.SpritesEnabled),
new RegEntry("$FF40.2", "Sprite size", ppu.LargeSprites ? "8x16" : "8x8", ppu.LargeSprites),
new RegEntry("$FF40.3", "BG Tilemap Select", ppu.BgTilemapSelect ? 0x9C00 : 0x9800, Format.X16),
new RegEntry("$FF40.4", "BG Tile Select", ppu.BgTileSelect ? "$8000-$8FFF" : "$8800-$97FF", ppu.BgTileSelect),
Expand Down

0 comments on commit d0adadd

Please sign in to comment.