Qt: Fix patch loading while a game is running
Jeffrey Pfau jeffrey@endrift.com
Sat, 21 Feb 2015 11:35:27 -0800
2 files changed,
4 insertions(+),
1 deletions(-)
M
CHANGES
→
CHANGES
@@ -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.cpp
→
src/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; } }