Perf: Fix perf build on Windows

This commit is contained in:
Jeffrey Pfau 2014-11-25 04:55:00 -08:00
parent 6a40e3e455
commit c5e5efca2e
1 changed files with 1 additions and 3 deletions

View File

@ -155,9 +155,7 @@ static void _GBAPerfRunloop(struct GBAThread* context, int* frames, bool quiet)
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) {