summaryrefslogtreecommitdiffstats
path: root/source/dstwo/gpsp_main.c
diff options
context:
space:
mode:
authorNebuleon <nebuleon@alakazam>2013-08-22 23:54:08 +0000
committerNebuleon <nebuleon@alakazam>2013-08-22 23:54:08 +0000
commit16b526c271c4c274bcbcfe3b54a0023cbb8547cb (patch)
treeb1e65a3fc6f702a264d0b1e3c2aee51beabedfd0 /source/dstwo/gpsp_main.c
parent985f8a8baf59e6cbe85f2a5edf77a3c60136eae9 (diff)
downloadReGBA-16b526c271c4c274bcbcfe3b54a0023cbb8547cb.zip
ReGBA-16b526c271c4c274bcbcfe3b54a0023cbb8547cb.tar.gz
ReGBA-16b526c271c4c274bcbcfe3b54a0023cbb8547cb.tar.bz2
cpu_asm.c: Do not use gpsp_persistent_config, which is a DSTwo port variable, when deciding whether to boot from the BIOS.
Diffstat (limited to 'source/dstwo/gpsp_main.c')
-rw-r--r--source/dstwo/gpsp_main.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/source/dstwo/gpsp_main.c b/source/dstwo/gpsp_main.c
index e739112..bee92f7 100644
--- a/source/dstwo/gpsp_main.c
+++ b/source/dstwo/gpsp_main.c
@@ -261,7 +261,7 @@ int gpsp_main(int argc, char *argv[])
quit();
}
- init_cpu();
+ init_cpu(gpsp_persistent_config.BootFromBIOS);
init_memory();
reset_sound();
@@ -535,7 +535,7 @@ void reset_gba()
{
init_main();
init_memory();
- init_cpu();
+ init_cpu(gpsp_persistent_config.BootFromBIOS);
reset_sound();
}