all repos — mgba @ 2141868cf29a979c4ee7c8436bbae1bf4ab4be50

mGBA Game Boy Advance Emulator

Qt: (GameController) Add a missing va_end call to the log handler lambda
Lioncash mathew1800@gmail.com
Thu, 02 Jul 2015 10:13:10 -0400
commit

2141868cf29a979c4ee7c8436bbae1bf4ab4be50

parent

06f02ef8731fa998f2db870a783930503e980281

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

jump to
M CHANGESCHANGES

@@ -55,6 +55,7 @@ - GBA Audio: Fix sample order in audio channel 3

- GBA Audio: Fix 8-bit writes to audio channel 3 frequency - ARM7: ARMHotplugDetach should call deinit - Qt: Fix window being too tall after exiting fullscreen + - Qt: Fix a missing va_end call in the log handler lambda within the GameController constructor Misc: - Qt: Handle saving input settings better - Debugger: Free watchpoints in addition to breakpoints
M src/platform/qt/GameController.cppsrc/platform/qt/GameController.cpp

@@ -121,6 +121,7 @@ if (level == GBA_LOG_STUB && strncmp(stubMessage, format, strlen(stubMessage)) == 0) {

va_list argc; va_copy(argc, args); int immediate = va_arg(argc, int); + va_end(argc); controller->unimplementedBiosCall(immediate); } if (level == GBA_LOG_FATAL) {