all repos — mgba @ 78b761cf017c6ee039810f29316b3736eee07fd4

mGBA Game Boy Advance Emulator

GBA Context: Fix minimal core configuration
Jeffrey Pfau jeffrey@endrift.com
Fri, 08 Jan 2016 22:03:50 -0800
commit

78b761cf017c6ee039810f29316b3736eee07fd4

parent

bb5ef9246cb604f1ecf3c57c77be4d72b2d75153

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

jump to
M src/gba/context/context.csrc/gba/context/context.c

@@ -74,9 +74,7 @@ ARMDeinit(context->cpu);

GBADestroy(context->gba); mappedMemoryFree(context->gba, 0); mappedMemoryFree(context->cpu, 0); -#if !defined(MINIMAL_CORE) || MINIMAL_CORE < 2 GBAConfigDeinit(&context->config); -#endif GBADirectorySetDeinit(&context->dirs); }

@@ -163,9 +161,7 @@ if (!GBALoadROM(context->gba, context->rom, context->save, context->fname)) {

return false; } -#if !defined(MINIMAL_CORE) || MINIMAL_CORE < 2 GBAConfigMap(&context->config, &opts); -#endif if (!context->bios && opts.bios) { GBAContextLoadBIOS(context, opts.bios);