mirror of https://github.com/mgba-emu/mgba.git
GBA Context: Fix minimal core configuration
This commit is contained in:
parent
bb5ef9246c
commit
78b761cf01
|
@ -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);
|
||||
|
|
Loading…
Reference in New Issue