mirror of https://github.com/mgba-emu/mgba.git
PSP2: Load default overrides
This commit is contained in:
parent
5c6f8e3799
commit
d957736ed9
|
@ -6,6 +6,7 @@
|
||||||
#include "gba/gba.h"
|
#include "gba/gba.h"
|
||||||
#include "gba/input.h"
|
#include "gba/input.h"
|
||||||
#include "gba/audio.h"
|
#include "gba/audio.h"
|
||||||
|
#include "gba/supervisor/overrides.h"
|
||||||
#include "gba/video.h"
|
#include "gba/video.h"
|
||||||
|
|
||||||
#include "gba/renderers/video-software.h"
|
#include "gba/renderers/video-software.h"
|
||||||
|
@ -128,6 +129,7 @@ int main() {
|
||||||
GBAVideoAssociateRenderer(&gba->video, &renderer.d);
|
GBAVideoAssociateRenderer(&gba->video, &renderer.d);
|
||||||
|
|
||||||
GBALoadROM(gba, rom, save, 0);
|
GBALoadROM(gba, rom, save, 0);
|
||||||
|
GBAOverrideApplyDefaults(gba);
|
||||||
printf("%s loaded.", "ROM");
|
printf("%s loaded.", "ROM");
|
||||||
|
|
||||||
ARMReset(cpu);
|
ARMReset(cpu);
|
||||||
|
|
Loading…
Reference in New Issue