mirror of https://github.com/mgba-emu/mgba.git
Qt: Fix infrequent deadlock when using sync to video
This commit is contained in:
parent
adac035422
commit
967cc0886e
2
CHANGES
2
CHANGES
|
@ -2,6 +2,8 @@
|
|||
Features:
|
||||
- Tool for converting scanned pictures of e-Reader cards to raw dotcode data
|
||||
- Cheat code support in homebrew ports
|
||||
Other fixes:
|
||||
- Qt: Fix infrequent deadlock when using sync to video
|
||||
Misc:
|
||||
- Qt: Rearrange menus some
|
||||
|
||||
|
|
|
@ -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