all repos — mgba @ f646be0472e08d11e1a33d04827bf51406ed24c9

mGBA Game Boy Advance Emulator

Qt: Fix patch loading while a game is running
Jeffrey Pfau jeffrey@endrift.com
Sat, 21 Feb 2015 11:35:27 -0800
commit

f646be0472e08d11e1a33d04827bf51406ed24c9

parent

d9ad68bad6070dea1cae86e9772a39e0000c5061

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

jump to
M CHANGESCHANGES

@@ -43,6 +43,7 @@ - GBA: Fix savestate loading of DISPSTAT and WAITCNT registers

- Qt: Fix crash starting a GDB stub if a game isn't loaded - Qt: Fix crash when adjusting settings after closing a game - Qt: Fix crash when starting GDB stub after closing a game + - Qt: Fix patch loading while a game is running Misc: - GBA Audio: Change internal audio sample buffer from 32-bit to 16-bit samples - GBA Memory: Simplify memory API and use fixed bus width
M src/platform/qt/GameController.cppsrc/platform/qt/GameController.cpp

@@ -254,10 +254,12 @@ }

} void GameController::loadPatch(const QString& path) { - m_patch = path; if (m_gameOpen) { closeGame(); + m_patch = path; openGame(); + } else { + m_patch = path; } }