notaz.gp2x.de
/
pcsx_rearmed.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
1e973cb
)
drc: don't leave until we really need to
author
notaz
<notasas@gmail.com>
Sun, 23 Jan 2011 22:34:28 +0000
(
00:34
+0200)
committer
notaz
<notasas@gmail.com>
Sun, 23 Jan 2011 22:38:48 +0000
(
00:38
+0200)
libpcsxcore/new_dynarec/emu_if.c
patch
|
blob
|
blame
|
history
diff --git
a/libpcsxcore/new_dynarec/emu_if.c
b/libpcsxcore/new_dynarec/emu_if.c
index
572c482
..
a37f7a2
100644
(file)
--- a/
libpcsxcore/new_dynarec/emu_if.c
+++ b/
libpcsxcore/new_dynarec/emu_if.c
@@
-175,7
+175,9
@@
static void ari64_reset()
pending_exception = 1;
}
pending_exception = 1;
}
-static void ari64_execute()
+// execute until predefined leave points
+// (HLE softcall exit and BIOS fastboot end)
+static void ari64_execute_until()
{
schedule_timeslice();
{
schedule_timeslice();
@@
-188,6
+190,14
@@
static void ari64_execute()
psxRegs.cycle, next_interupt, next_interupt - psxRegs.cycle);
}
psxRegs.cycle, next_interupt, next_interupt - psxRegs.cycle);
}
+static void ari64_execute()
+{
+ while (!stop) {
+ ari64_execute_until();
+ evprintf("drc left @%08x\n", psxRegs.pc);
+ }
+}
+
static void ari64_clear(u32 addr, u32 size)
{
u32 start, end;
static void ari64_clear(u32 addr, u32 size)
{
u32 start, end;
@@
-229,7
+239,7
@@
R3000Acpu psxRec = {
ari64_reset,
#if defined(__arm__)
ari64_execute,
ari64_reset,
#if defined(__arm__)
ari64_execute,
- ari64_execute,
+ ari64_execute
_until
,
#else
intExecuteT,
intExecuteBlockT,
#else
intExecuteT,
intExecuteBlockT,