notaz.gp2x.de
/
pcsx_rearmed.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
drc: minor cleanup
[pcsx_rearmed.git]
/
libpcsxcore
/
new_dynarec
/
emu_if.c
diff --git
a/libpcsxcore/new_dynarec/emu_if.c
b/libpcsxcore/new_dynarec/emu_if.c
index
86bf0d2
..
33319ba
100644
(file)
--- a/
libpcsxcore/new_dynarec/emu_if.c
+++ b/
libpcsxcore/new_dynarec/emu_if.c
@@
-84,7
+84,7
@@
static void irq_test(void)
}
}
}
}
- if ((psxHu32(0x1070) & psxHu32(0x1074)) && (Status & 0x401) == 0x401) {
+ if ((psxHu32(0x1070) & psxHu32(0x1074)) && (
psxRegs.CP0.n.
Status & 0x401) == 0x401) {
psxException(0x400, 0);
pending_exception = 1;
}
psxException(0x400, 0);
pending_exception = 1;
}
@@
-110,7
+110,7
@@
void pcsx_mtc0(u32 reg, u32 val)
evprintf("MTC0 %d #%x @%08x %u\n", reg, val, psxRegs.pc, psxRegs.cycle);
MTC0(&psxRegs, reg, val);
gen_interupt();
evprintf("MTC0 %d #%x @%08x %u\n", reg, val, psxRegs.pc, psxRegs.cycle);
MTC0(&psxRegs, reg, val);
gen_interupt();
- if (
Cause &
Status & 0x0300) // possible sw irq
+ if (
psxRegs.CP0.n.Cause & psxRegs.CP0.n.
Status & 0x0300) // possible sw irq
pending_exception = 1;
}
pending_exception = 1;
}
@@
-190,7
+190,7
@@
void new_dyna_freeze(void *f, int mode)
//printf("drc: %d block info entries %s\n", size/8, mode ? "saved" : "loaded");
}
//printf("drc: %d block info entries %s\n", size/8, mode ? "saved" : "loaded");
}
-#if
ndef DRC_DISABLE
+#if
!defined(DRC_DISABLE) && !defined(LIGHTREC)
/* GTE stuff */
void *gte_handlers[64];
/* GTE stuff */
void *gte_handlers[64];
@@
-394,7
+394,7
@@
static void ari64_apply_config()
else
new_dynarec_hacks &= ~NDHACK_NO_STALLS;
else
new_dynarec_hacks &= ~NDHACK_NO_STALLS;
- if (cycle_multiplier != cycle_multiplier_old
+ if (
Config.
cycle_multiplier != cycle_multiplier_old
|| new_dynarec_hacks != new_dynarec_hacks_old)
{
new_dynarec_clear_full();
|| new_dynarec_hacks != new_dynarec_hacks_old)
{
new_dynarec_clear_full();
@@
-424,8
+424,6
@@
unsigned int address;
int pending_exception, stop;
unsigned int next_interupt;
int new_dynarec_did_compile;
int pending_exception, stop;
unsigned int next_interupt;
int new_dynarec_did_compile;
-int cycle_multiplier;
-int cycle_multiplier_override;
int cycle_multiplier_old;
int new_dynarec_hacks_pergame;
int new_dynarec_hacks_old;
int cycle_multiplier_old;
int new_dynarec_hacks_pergame;
int new_dynarec_hacks_old;