From 158e2efb2c4729196650c68fd134af312c4f2e6e Mon Sep 17 00:00:00 2001 From: Vicki Pfau Date: Fri, 20 Dec 2019 21:19:00 -0800 Subject: [PATCH] Qt: Fix sprite view using wrong base address (fixes #1063) --- CHANGES | 1 + src/platform/qt/ObjView.cpp | 1 + 2 files changed, 2 insertions(+) diff --git a/CHANGES b/CHANGES index 8eeeb43c1..e7344f21f 100644 --- a/CHANGES +++ b/CHANGES @@ -104,6 +104,7 @@ Other fixes: - Qt: Fix division by zero error in invalid TilePainter state - Qt: Fix "restart needed" dialog after first config (fixes mgba.io/i/1601) - Qt: Fix undesired screen filtering when paused (fixes mgba.io/i/1602) + - Qt: Fix sprite view using wrong base address (fixes mgba.io/i/1063) Misc: - GB Memory: Support manual SRAM editing (fixes mgba.io/i/1580) - SDL: Use controller GUID instead of name diff --git a/src/platform/qt/ObjView.cpp b/src/platform/qt/ObjView.cpp index fbbfdf309..b3623a799 100644 --- a/src/platform/qt/ObjView.cpp +++ b/src/platform/qt/ObjView.cpp @@ -120,6 +120,7 @@ void ObjView::updateTilesGBA(bool force) { m_ui.palette->setText(QString::number(newInfo.paletteId)); m_ui.tile->setBoundary(2048, 0, 2); m_ui.tile->setPalette(newInfo.paletteId); + m_boundary = 2048; } if (newInfo != m_objInfo) { force = true;