all repos — mgba @ 5646ba7d606a5da1155be568946f80602a1c2e72

mGBA Game Boy Advance Emulator

Core: Fix Windows build
Vicki Pfau vi@endrift.com
Sun, 09 Apr 2017 19:18:29 -0700
commit

5646ba7d606a5da1155be568946f80602a1c2e72

parent

484618ca4c5f59f62a73018051ca6397472ea35e

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

jump to
M src/core/thread.csrc/core/thread.c

@@ -120,7 +120,7 @@ }

_changeState(thread, THREAD_CRASHED, true); } -void _sleep(void* context) { +void _coreSleep(void* context) { struct mCoreThread* thread = context; if (!thread) { return;

@@ -153,7 +153,7 @@ struct mCoreCallbacks callbacks = {

.videoFrameStarted = _frameStarted, .videoFrameEnded = _frameEnded, .coreCrashed = _crashed, - .sleep = _sleep, + .sleep = _coreSleep, .context = threadContext }; core->addCoreCallbacks(core, &callbacks);