summaryrefslogtreecommitdiff
path: root/libpcsxcore
diff options
context:
space:
mode:
authorSND\weimingzhi_cp <SND\weimingzhi_cp@e17a0e51-4ae3-4d35-97c3-1a29b211df97>2010-12-31 07:08:27 +0000
committerSND\weimingzhi_cp <SND\weimingzhi_cp@e17a0e51-4ae3-4d35-97c3-1a29b211df97>2010-12-31 07:08:27 +0000
commit3179529df6be67bf342143364ed20e53aaed66c6 (patch)
tree0f10e3a50f420fe92b0a3c491883b073cde0466f /libpcsxcore
parent1cada05871ef5be9ebb4f22d4ea3956bb729d522 (diff)
downloadpcsxr-3179529df6be67bf342143364ed20e53aaed66c6.tar.gz
- slowboot (prelimiary).
git-svn-id: https://pcsxr.svn.codeplex.com/svn/pcsxr@61650 e17a0e51-4ae3-4d35-97c3-1a29b211df97
Diffstat (limited to 'libpcsxcore')
-rw-r--r--libpcsxcore/misc.c2
-rw-r--r--libpcsxcore/psxcommon.h1
2 files changed, 2 insertions, 1 deletions
diff --git a/libpcsxcore/misc.c b/libpcsxcore/misc.c
index 55170f00..f3b29816 100644
--- a/libpcsxcore/misc.c
+++ b/libpcsxcore/misc.c
@@ -147,7 +147,7 @@ int LoadCdrom() {
s8 exename[256];
if (!Config.HLE) {
- psxRegs.pc = psxRegs.GPR.n.ra;
+ if (!Config.SlowBoot) psxRegs.pc = psxRegs.GPR.n.ra;
return 0;
}
diff --git a/libpcsxcore/psxcommon.h b/libpcsxcore/psxcommon.h
index 500c44ad..73d130ba 100644
--- a/libpcsxcore/psxcommon.h
+++ b/libpcsxcore/psxcommon.h
@@ -121,6 +121,7 @@ typedef struct {
boolean PsxAuto;
boolean Cdda;
boolean HLE;
+ boolean SlowBoot;
boolean Debug;
boolean PsxOut;
boolean SpuIrq;