all repos — mgba @ c5e5efca2e1876dff5390af4168df5d36a7afb9f

mGBA Game Boy Advance Emulator

Perf: Fix perf build on Windows
Jeffrey Pfau jeffrey@endrift.com
Tue, 25 Nov 2014 04:55:00 -0800
commit

c5e5efca2e1876dff5390af4168df5d36a7afb9f

parent

6a40e3e455821ec4c774ef7620c1d115a568c3c6

1 files changed, 1 insertions(+), 3 deletions(-)

jump to
M src/platform/perf-main.csrc/platform/perf-main.c

@@ -155,9 +155,7 @@ }

static void _GBAPerfShutdown(int signal) { UNUSED(signal); - pthread_mutex_lock(&_thread->stateMutex); - _thread->state = THREAD_EXITING; - pthread_mutex_unlock(&_thread->stateMutex); + GBAThreadEnd(_thread); } static bool _parsePerfOpts(struct SubParser* parser, struct GBAConfig* config, int option, const char* arg) {