all repos — mgba @ 59d2e58bbbd42746d2bc781fe8d8adfe1ff3588f

mGBA Game Boy Advance Emulator

GBA Core: VLP fixes
Vicki Pfau vi@endrift.com
Sat, 01 Jun 2019 14:30:44 -0700
commit

59d2e58bbbd42746d2bc781fe8d8adfe1ff3588f

parent

f41f3a847893450843f33e6c45c7025fdd8e1fc9

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

jump to
M src/gba/core.csrc/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; }