Qt: Fix remaining write to drawContext
Jeffrey Pfau jeffrey@endrift.com
Sat, 16 Jan 2016 10:59:38 -0800
1 files changed,
1 insertions(+),
1 deletions(-)
M
src/platform/qt/GameController.cpp
→
src/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;