all repos — mgba @ 7c629a76bac74d76b1d0564d7507c8a0053bf234

mGBA Game Boy Advance Emulator

Merge pull request #57 from lioncash/va_end

Qt: (GameController) Add a missing va_end call to the log handler lambda
endrift jeffrey@endrift.com
Thu, 02 Jul 2015 09:06:09 -0700
commit

7c629a76bac74d76b1d0564d7507c8a0053bf234

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) {