all repos — mgba @ 02116415d18be3b9d9924730fcc16de195ba996f

mGBA Game Boy Advance Emulator

Unload patch after the end of the game
Jeffrey Pfau jeffrey@endrift.com
Fri, 24 Oct 2014 02:25:18 -0700
commit

02116415d18be3b9d9924730fcc16de195ba996f

parent

26c1b3c6c951c48620e95e720da113a94a9d1bbc

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

jump to
M src/platform/qt/GameController.cppsrc/platform/qt/GameController.cpp

@@ -191,6 +191,8 @@ free(const_cast<char*>(m_threadContext.fname));

m_threadContext.fname = nullptr; } + m_patch = QString(); + m_gameOpen = false; emit gameStopped(&m_threadContext); }