all repos — mgba @ d957736ed95751328f6913b1954cdeac0bf7e80d

mGBA Game Boy Advance Emulator

PSP2: Load default overrides
Jeffrey Pfau jeffrey@endrift.com
Sun, 26 Jul 2015 18:22:33 -0700
commit

d957736ed95751328f6913b1954cdeac0bf7e80d

parent

5c6f8e3799ae9dd99b02c7805f2d60f4bdaf38a5

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

jump to
M src/platform/psp2/main.csrc/platform/psp2/main.c

@@ -6,6 +6,7 @@ * file, You can obtain one at http://mozilla.org/MPL/2.0/. */

#include "gba/gba.h" #include "gba/input.h" #include "gba/audio.h" +#include "gba/supervisor/overrides.h" #include "gba/video.h" #include "gba/renderers/video-software.h"

@@ -128,6 +129,7 @@

GBAVideoAssociateRenderer(&gba->video, &renderer.d); GBALoadROM(gba, rom, save, 0); + GBAOverrideApplyDefaults(gba); printf("%s loaded.", "ROM"); ARMReset(cpu);