mirror of https://github.com/mgba-emu/mgba.git
Qt: Initialize draw context
This commit is contained in:
parent
481833c205
commit
03d2b3312e
|
@ -339,6 +339,7 @@ void GameController::openGame(bool biosOnly) {
|
|||
}
|
||||
|
||||
m_inputController->recalibrateAxes();
|
||||
memset(m_drawContext, 0xF8, 1024 * 256);
|
||||
|
||||
if (!GBAThreadStart(&m_threadContext)) {
|
||||
m_gameOpen = false;
|
||||
|
|
Loading…
Reference in New Issue