diff options
author | notaz | 2010-12-12 23:57:47 +0200 |
---|---|---|
committer | notaz | 2010-12-14 15:25:05 +0200 |
commit | f76eeef94001323d5019a134c54847ece2493ae9 (patch) | |
tree | a8582d27211b1a335b14dd4d686cc92c74191c47 /libpcsxcore/new_dynarec/assem_arm.c | |
parent | 367b1b93e323bd0a8e1b5ad59cc07a4e7f296fd6 (diff) | |
download | pcsx_rearmed-f76eeef94001323d5019a134c54847ece2493ae9.tar.gz pcsx_rearmed-f76eeef94001323d5019a134c54847ece2493ae9.tar.bz2 pcsx_rearmed-f76eeef94001323d5019a134c54847ece2493ae9.zip |
drc: don't clear ARM caches on whole translation cache - it's very slow
Diffstat (limited to 'libpcsxcore/new_dynarec/assem_arm.c')
-rw-r--r-- | libpcsxcore/new_dynarec/assem_arm.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/libpcsxcore/new_dynarec/assem_arm.c b/libpcsxcore/new_dynarec/assem_arm.c index cd3429f..264f9d6 100644 --- a/libpcsxcore/new_dynarec/assem_arm.c +++ b/libpcsxcore/new_dynarec/assem_arm.c @@ -142,7 +142,7 @@ add_literal(int addr,int val) literalcount++; } -void kill_pointer(void *stub) +void *kill_pointer(void *stub) { int *ptr=(int *)(stub+4); assert((*ptr&0x0ff00000)==0x05900000); @@ -150,6 +150,7 @@ void kill_pointer(void *stub) int **l_ptr=(void *)ptr+offset+8; int *i_ptr=*l_ptr; set_jump_target((int)i_ptr,(int)stub); + return i_ptr; } int get_pointer(void *stub) |