From 59d2e58bbbd42746d2bc781fe8d8adfe1ff3588f Mon Sep 17 00:00:00 2001 From: Vicki Pfau Date: Sat, 1 Jun 2019 14:30:44 -0700 Subject: [PATCH] GBA Core: VLP fixes --- src/gba/core.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/gba/core.c b/src/gba/core.c index bf3a7ecfd..67864c409 100644 --- a/src/gba/core.c +++ b/src/gba/core.c @@ -1094,6 +1094,7 @@ static void _GBAVLPStartFrameCallback(void *context) { GBAVideoProxyRendererUnshim(&gba->video, &gbacore->proxyRenderer); mVideoLogContextRewind(gbacore->logContext, core); GBAVideoProxyRendererShim(&gba->video, &gbacore->proxyRenderer); + gba->earlyExit = true; } } @@ -1109,6 +1110,7 @@ static bool _GBAVLPInit(struct mCore* core) { gbacore->logCallbacks.videoFrameStarted = _GBAVLPStartFrameCallback; gbacore->logCallbacks.context = core; core->addCoreCallbacks(core, &gbacore->logCallbacks); + core->videoLogger = gbacore->proxyRenderer.logger; return true; }