all repos — mgba @ e2812b30b219bf9c77d2ea8e882f333fc8752ffd

mGBA Game Boy Advance Emulator

Remove code that expects the GBA thread to still be around after it has ended
Jeffrey Pfau jeffrey@endrift.com
Sat, 18 Oct 2014 04:09:49 -0700
commit

e2812b30b219bf9c77d2ea8e882f333fc8752ffd

parent

dbe5e7e2a559f0bc53c535b03502f28edd554218

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

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

@@ -52,13 +52,9 @@ }

void Display::stopDrawing() { if (m_drawThread) { - GBAThreadInterrupt(m_context); - GBASyncSuspendDrawing(&m_context->sync); QMetaObject::invokeMethod(m_painter, "stop", Qt::BlockingQueuedConnection); m_drawThread->exit(); m_drawThread = nullptr; - GBASyncResumeDrawing(&m_context->sync); - GBAThreadContinue(m_context); } }