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
Merge pull request #21 from phaseIV/master
[pcsx_rearmed.git]
/
libpcsxcore
/
new_dynarec
/
new_dynarec.c
diff --git
a/libpcsxcore/new_dynarec/new_dynarec.c
b/libpcsxcore/new_dynarec/new_dynarec.c
index
8d1e53a
..
e9e2b5c
100644
(file)
--- a/
libpcsxcore/new_dynarec/new_dynarec.c
+++ b/
libpcsxcore/new_dynarec/new_dynarec.c
@@
-53,6
+53,9
@@
static void __clear_cache(void *start, void *end) {
sys_dcache_flush(start, len);
sys_icache_invalidate(start, len);
}
sys_dcache_flush(start, len);
sys_icache_invalidate(start, len);
}
+#elif defined(_3DS)
+#include "3ds_utils.h"
+#define __clear_cache(start,end) svcFlushProcessDataCache(0xFFFF8001, start, (u32)(end)-(u32)(start))
#endif
#define MAXBLOCK 4096
#endif
#define MAXBLOCK 4096
@@
-9885,6
+9888,10
@@
int new_recompile_block(int addr)
{
cc+=2; // 2 cycle penalty (after CLOCK_DIVIDER)
}
{
cc+=2; // 2 cycle penalty (after CLOCK_DIVIDER)
}
+ else if(i>1&&itype[i]==STORE&&itype[i-1]==STORE&&itype[i-2]==STORE&&!bt[i])
+ {
+ cc+=4;
+ }
else if(itype[i]==C2LS)
{
cc+=4;
else if(itype[i]==C2LS)
{
cc+=4;