GBA, GB: Fix FrameStarted callback
Vicki Pfau vi@endrift.com
Thu, 09 Feb 2017 22:32:56 -0800
2 files changed,
2 insertions(+),
2 deletions(-)
M
src/gb/video.c
→
src/gb/video.c
@@ -250,7 +250,7 @@
size_t c; for (c = 0; c < mCoreCallbacksListSize(&video->p->coreCallbacks); ++c) { struct mCoreCallbacks* callbacks = mCoreCallbacksListGetPointer(&video->p->coreCallbacks, c); - if (callbacks->videoFrameEnded) { + if (callbacks->videoFrameStarted) { callbacks->videoFrameStarted(callbacks->context); } }
M
src/gba/gba.c
→
src/gba/gba.c
@@ -636,7 +636,7 @@
size_t c; for (c = 0; c < mCoreCallbacksListSize(&gba->coreCallbacks); ++c) { struct mCoreCallbacks* callbacks = mCoreCallbacksListGetPointer(&gba->coreCallbacks, c); - if (callbacks->videoFrameEnded) { + if (callbacks->videoFrameStarted) { callbacks->videoFrameStarted(callbacks->context); } }