GBA Context: Fix minimal core configuration

This commit is contained in:
Jeffrey Pfau 2016-01-08 22:03:50 -08:00
parent bb5ef9246c
commit 78b761cf01
1 changed files with 0 additions and 4 deletions

View File

@ -74,9 +74,7 @@ void GBAContextDeinit(struct GBAContext* context) {
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 @@ bool GBAContextStart(struct GBAContext* context) {
return false;
}
#if !defined(MINIMAL_CORE) || MINIMAL_CORE < 2
GBAConfigMap(&context->config, &opts);
#endif
if (!context->bios && opts.bios) {
GBAContextLoadBIOS(context, opts.bios);