GBA Core: VLP fixes
Vicki Pfau vi@endrift.com
Sat, 01 Jun 2019 14:30:44 -0700
1 files changed,
2 insertions(+),
0 deletions(-)
jump to
M
src/gba/core.c
→
src/gba/core.c
@@ -1094,6 +1094,7 @@ if (!mVideoLoggerRendererRun(gbacore->proxyRenderer.logger, true)) {
GBAVideoProxyRendererUnshim(&gba->video, &gbacore->proxyRenderer); mVideoLogContextRewind(gbacore->logContext, core); GBAVideoProxyRendererShim(&gba->video, &gbacore->proxyRenderer); + gba->earlyExit = true; } }@@ -1109,6 +1110,7 @@ memset(&gbacore->logCallbacks, 0, sizeof(gbacore->logCallbacks));
gbacore->logCallbacks.videoFrameStarted = _GBAVLPStartFrameCallback; gbacore->logCallbacks.context = core; core->addCoreCallbacks(core, &gbacore->logCallbacks); + core->videoLogger = gbacore->proxyRenderer.logger; return true; }