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:
3601e36
)
libretro: set cycle_multiplier
author
notaz
<notasas@gmail.com>
Mon, 10 Dec 2012 23:37:33 +0000
(
01:37
+0200)
committer
notaz
<notasas@gmail.com>
Tue, 11 Dec 2012 00:22:31 +0000
(
02:22
+0200)
frontend/libretro.c
patch
|
blob
|
blame
|
history
diff --git
a/frontend/libretro.c
b/frontend/libretro.c
index
4e509a0
..
3431685
100644
(file)
--- a/
frontend/libretro.c
+++ b/
frontend/libretro.c
@@
-437,6
+437,15
@@
void retro_init(void)
level = 1;
environ_cb(RETRO_ENVIRONMENT_SET_PERFORMANCE_LEVEL, &level);
level = 1;
environ_cb(RETRO_ENVIRONMENT_SET_PERFORMANCE_LEVEL, &level);
+ /* Set how much slower PSX CPU runs * 100 (so that 200 is 2 times)
+ * we have to do this because cache misses and some IO penalties
+ * are not emulated. Warning: changing this may break compatibility. */
+#ifdef __ARM_ARCH_7A__
+ cycle_multiplier = 175;
+#else
+ cycle_multiplier = 200;
+#endif
+
McdDisable[0] = 0;
McdDisable[1] = 1;
init_memcard(Mcd1Data);
McdDisable[0] = 0;
McdDisable[1] = 1;
init_memcard(Mcd1Data);