all repos — mgba @ 246efef6b960d51a6a0917d824558569cf2e6873

mGBA Game Boy Advance Emulator

Qt: Fix being unable to pause manually when using auto-pausing
Jeffrey Pfau jeffrey@endrift.com
Mon, 29 Aug 2016 18:22:47 -0700
commit

246efef6b960d51a6a0917d824558569cf2e6873

parent

e82c050a7d33c0d2df3935a7e7b41f95a8c9175e

2 files changed, 2 insertions(+), 0 deletions(-)

jump to
M CHANGESCHANGES

@@ -36,6 +36,7 @@ - GBA: Fix losing IRQs when CPSR I bit isn't cleared

- VFS: Fix reading multiple files from a 7z archive - GBA: Fix filehandle leak with savegames - GBA: Timer 0 cannot be count up + - Qt: Fix being unable to pause manually when using auto-pausing Misc: - 3DS: Use blip_add_delta_fast for a small speed improvement - OpenGL: Log shader compilation failure
M src/platform/qt/Window.cppsrc/platform/qt/Window.cpp

@@ -1530,6 +1530,7 @@ return;

} if (QGuiApplication::focusWindow() && m_autoresume) { m_controller->setPaused(false); + m_autoresume = false; } else if (!QGuiApplication::focusWindow() && !m_controller->isPaused()) { m_autoresume = true; m_controller->setPaused(true);