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: possibly the missing piece for Vita
[pcsx_rearmed.git]
/
libpcsxcore
/
lightrec
/
plugin.c
diff --git
a/libpcsxcore/lightrec/plugin.c
b/libpcsxcore/lightrec/plugin.c
index
3e68a9c
..
bb4138b
100644
(file)
--- a/
libpcsxcore/lightrec/plugin.c
+++ b/
libpcsxcore/lightrec/plugin.c
@@
-37,6
+37,9
@@
# define unlikely(x) (x)
#endif
# define unlikely(x) (x)
#endif
+psxRegisters psxRegs;
+Rcnt rcnts[4];
+
static struct lightrec_state *lightrec_state;
static char *name = "retroarch.exe";
static struct lightrec_state *lightrec_state;
static char *name = "retroarch.exe";
@@
-47,18
+50,6
@@
static bool lightrec_debug;
static bool lightrec_very_debug;
static u32 lightrec_begin_cycles;
static bool lightrec_very_debug;
static u32 lightrec_begin_cycles;
-int stop;
-u32 cycle_multiplier;
-int new_dynarec_hacks;
-
-/* Unused for now */
-u32 event_cycles[PSXINT_COUNT];
-u32 next_interupt;
-
-void new_dyna_before_save() {}
-void new_dyna_after_save() {}
-void new_dyna_freeze(void *f, int i) {}
-
enum my_cp2_opcodes {
OP_CP2_RTPS = 0x01,
OP_CP2_NCLIP = 0x06,
enum my_cp2_opcodes {
OP_CP2_RTPS = 0x01,
OP_CP2_NCLIP = 0x06,
@@
-578,7
+569,6
@@
static void lightrec_plugin_clear(u32 addr, u32 size)
lightrec_invalidate(lightrec_state, addr, size * 4);
}
lightrec_invalidate(lightrec_state, addr, size * 4);
}
-#ifdef ICACHE_EMULATION
static void lightrec_plugin_notify(int note, void *data)
{
/*
static void lightrec_plugin_notify(int note, void *data)
{
/*
@@
-595,7
+585,10
@@
static void lightrec_plugin_notify(int note, void *data)
break;
}*/
}
break;
}*/
}
-#endif
+
+static void lightrec_plugin_apply_config()
+{
+}
static void lightrec_plugin_shutdown(void)
{
static void lightrec_plugin_shutdown(void)
{
@@
-615,8
+608,7
@@
R3000Acpu psxRec =
lightrec_plugin_execute,
lightrec_plugin_execute_block,
lightrec_plugin_clear,
lightrec_plugin_execute,
lightrec_plugin_execute_block,
lightrec_plugin_clear,
-#ifdef ICACHE_EMULATION
lightrec_plugin_notify,
lightrec_plugin_notify,
-#endif
+ lightrec_plugin_apply_config,
lightrec_plugin_shutdown,
};
lightrec_plugin_shutdown,
};