all repos — mgba @ a8110342ce130ebf751e40ae69ccaec01cbddab5

mGBA Game Boy Advance Emulator

Qt: Really fix the build this time
Jeffrey Pfau jeffrey@endrift.com
Sat, 10 Oct 2015 21:09:57 -0700
commit

a8110342ce130ebf751e40ae69ccaec01cbddab5

parent

c53e3546dd071f1458144ce3e659ebb851ec7d78

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

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

@@ -134,7 +134,7 @@ m_value |= m_ui.bC->isChecked() << 0xC;

m_value |= m_ui.bD->isChecked() << 0xD; m_value |= m_ui.bE->isChecked() << 0xE; m_value |= m_ui.bF->isChecked() << 0xF; - m_ui.regValue->setText(QString::asprintf("0x%04X", m_value)); + m_ui.regValue->setText("0x" + QString("%1").arg(m_value, 4, 16, QChar('0')).toUpper()); } void IOViewer::writeback() {