Qt: Limit number of GB sprites correctly
Vicki Pfau vi@endrift.com
Sun, 18 Jun 2017 08:59:08 -0700
1 files changed,
2 insertions(+),
0 deletions(-)
jump to
M
src/platform/qt/ObjView.cpp
→
src/platform/qt/ObjView.cpp
@@ -68,6 +68,7 @@ }
#ifdef M_CORE_GBA void ObjView::updateTilesGBA(bool force) { + m_ui.objId->setMaximum(127); const GBA* gba = static_cast<const GBA*>(m_controller->thread()->core->board); const GBAObj* obj = &gba->video.oam.obj[m_objId];@@ -172,6 +173,7 @@ #endif
#ifdef M_CORE_GB void ObjView::updateTilesGB(bool force) { + m_ui.objId->setMaximum(39); const GB* gb = static_cast<const GB*>(m_controller->thread()->core->board); const GBObj* obj = &gb->video.oam.obj[m_objId];