all repos — mgba @ 3fef28db198e8d1397a9aed3238b1ebf8c7352b1

mGBA Game Boy Advance Emulator

Qt: Fix remaining write to drawContext
Jeffrey Pfau jeffrey@endrift.com
Sat, 16 Jan 2016 10:59:38 -0800
commit

3fef28db198e8d1397a9aed3238b1ebf8c7352b1

parent

7e6f9f20925afc666e964d8a599331ebbf95ced9

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

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

@@ -339,7 +339,7 @@ m_threadContext.patch = VFileDevice::open(m_patch, O_RDONLY);

} m_inputController->recalibrateAxes(); - memset(m_drawContext, 0xF8, 1024 * VIDEO_HORIZONTAL_PIXELS); + memset(m_drawContext, 0xF8, VIDEO_VERTICAL_PIXELS * VIDEO_HORIZONTAL_PIXELS * 4); if (!GBAThreadStart(&m_threadContext)) { m_gameOpen = false;