all repos — mgba @ fd76100f5864fb8593d7f437f186d2ce341324f5

mGBA Game Boy Advance Emulator

Qt: Fix some embarrassing mistakes on the I/O viewer
Jeffrey Pfau jeffrey@endrift.com
Tue, 20 Oct 2015 21:37:10 -0700
commit

fd76100f5864fb8593d7f437f186d2ce341324f5

parent

6b4e37a4c6476dbff611b24d7a4ec03c8f438387

1 files changed, 10 insertions(+), 10 deletions(-)

jump to
M src/platform/qt/IOViewer.cppsrc/platform/qt/IOViewer.cpp

@@ -60,8 +60,8 @@ // 0x04000008: BG0CNT

s_registers.append({ { tr("Priority"), 0, 2 }, { tr("Tile data base (* 16kB)"), 2, 2 }, - { tr("Enable mosaic"), 3 }, - { tr("Enable 256-color"), 3 }, + { tr("Enable mosaic"), 6 }, + { tr("Enable 256-color"), 7 }, { tr("Tile map base (* 2kB)"), 8, 5 }, { tr("Background dimensions"), 14, 2 }, });

@@ -69,8 +69,8 @@ // 0x0400000A: BG1CNT

s_registers.append({ { tr("Priority"), 0, 2 }, { tr("Tile data base (* 16kB)"), 2, 2 }, - { tr("Enable mosaic"), 3 }, - { tr("Enable 256-color"), 3 }, + { tr("Enable mosaic"), 6 }, + { tr("Enable 256-color"), 7 }, { tr("Tile map base (* 2kB)"), 8, 5 }, { tr("Background dimensions"), 14, 2 }, });

@@ -78,20 +78,20 @@ // 0x0400000C: BG2CNT

s_registers.append({ { tr("Priority"), 0, 2 }, { tr("Tile data base (* 16kB)"), 2, 2 }, - { tr("Enable mosaic"), 3 }, - { tr("Enable 256-color"), 3 }, + { tr("Enable mosaic"), 6 }, + { tr("Enable 256-color"), 7 }, { tr("Tile map base (* 2kB)"), 8, 5 }, - { tr("Overflow wraps"), 9 }, + { tr("Overflow wraps"), 13 }, { tr("Background dimensions"), 14, 2 }, }); // 0x0400000E: BG3CNT s_registers.append({ { tr("Priority"), 0, 2 }, { tr("Tile data base (* 16kB)"), 2, 2 }, - { tr("Enable mosaic"), 3 }, - { tr("Enable 256-color"), 3 }, + { tr("Enable mosaic"), 6 }, + { tr("Enable 256-color"), 7 }, { tr("Tile map base (* 2kB)"), 8, 5 }, - { tr("Overflow wraps"), 9 }, + { tr("Overflow wraps"), 13 }, { tr("Background dimensions"), 14, 2 }, }); // 0x04000010: BG0HOFS