mirror of
https://github.com/libretro/mgba.git
synced 2024-11-23 16:10:01 +00:00
Core: Clean up after core has been deinited
This commit is contained in:
parent
1f204c8eef
commit
3abd2ca028
@ -54,6 +54,7 @@ static void _GBCoreDeinit(struct mCore* core) {
|
||||
#if !defined(MINIMAL_CORE) || MINIMAL_CORE < 2
|
||||
mDirectorySetDeinit(&core->dirs);
|
||||
#endif
|
||||
free(core);
|
||||
}
|
||||
|
||||
static enum mPlatform _GBCorePlatform(struct mCore* core) {
|
||||
|
@ -64,6 +64,7 @@ static void _GBACoreDeinit(struct mCore* core) {
|
||||
#if !defined(MINIMAL_CORE) || MINIMAL_CORE < 2
|
||||
mDirectorySetDeinit(&core->dirs);
|
||||
#endif
|
||||
free(core);
|
||||
}
|
||||
|
||||
static enum mPlatform _GBACorePlatform(struct mCore* core) {
|
||||
|
Loading…
Reference in New Issue
Block a user