Perf: Fix ordering of core deinitialization
Perf: Fix ordering of core deinitialization

iracigt/mgba,libretro/mgba,MerryMage/mgba,sergiobenrocha2/mgba,mgba-emu/mgba,fr500/mgba,jeremyherbert/mgba,fr500/mgba,mgba-emu/mgba,sergiobenrocha2/mgba,jeremyherbert/mgba,libretro/mgba,sergiobenrocha2/mgba,jeremyherbert/mgba,mgba-emu/mgba,iracigt/mgba,iracigt/mgba,mgba-emu/mgba,Anty-Lemon/mgba,Iniquitatis/mgba,iracigt/mgba,libretro/mgba,libretro/mgba,Iniquitatis/mgba,fr500/mgba,Anty-Lemon/mgba,sergiobenrocha2/mgba,Anty-Lemon/mgba,MerryMage/mgba,Anty-Lemon/mgba,sergiobenrocha2/mgba,MerryMage/mgba,fr500/mgba,jeremyherbert/mgba,libretro/mgba,Iniquitatis/mgba,Iniquitatis/mgba