mirror of https://github.com/mgba-emu/mgba.git
Qt: Fix infrequent deadlock when using sync to video
This commit is contained in:
parent
2232e7f65f
commit
8ede727c81
4
CHANGES
4
CHANGES
|
@ -1,3 +1,7 @@
|
|||
0.9.2: (Future)
|
||||
Other fixes:
|
||||
- Qt: Fix infrequent deadlock when using sync to video
|
||||
|
||||
0.9.1: (2021-04-18)
|
||||
Emulation fixes:
|
||||
- ARM: Fix LDM^ with empty rlist (fixes mgba.io/i/2127)
|
||||
|
|
|
@ -158,7 +158,6 @@ void DisplayGL::stopDrawing() {
|
|||
void DisplayGL::pauseDrawing() {
|
||||
if (m_hasStarted) {
|
||||
m_isDrawing = false;
|
||||
CoreController::Interrupter interrupter(m_context);
|
||||
QMetaObject::invokeMethod(m_painter.get(), "pause", Qt::BlockingQueuedConnection);
|
||||
#ifndef Q_OS_MAC
|
||||
setUpdatesEnabled(true);
|
||||
|
@ -169,7 +168,6 @@ void DisplayGL::pauseDrawing() {
|
|||
void DisplayGL::unpauseDrawing() {
|
||||
if (m_hasStarted) {
|
||||
m_isDrawing = true;
|
||||
CoreController::Interrupter interrupter(m_context);
|
||||
QMetaObject::invokeMethod(m_painter.get(), "unpause", Qt::BlockingQueuedConnection);
|
||||
#ifndef Q_OS_MAC
|
||||
setUpdatesEnabled(false);
|
||||
|
|
Loading…
Reference in New Issue