diff options
author | notaz | 2011-06-22 19:03:50 +0300 |
---|---|---|
committer | notaz | 2011-07-08 00:15:08 +0300 |
commit | 28d74ee8c4a1eade72032aff056ab854d664ce48 (patch) | |
tree | 260740b35d1752ecdfe83328446450cd2b0e17e9 /libpcsxcore | |
parent | 311301dc26918fcb95577247257380960f2313ba (diff) | |
download | pcsx_rearmed-28d74ee8c4a1eade72032aff056ab854d664ce48.tar.gz pcsx_rearmed-28d74ee8c4a1eade72032aff056ab854d664ce48.tar.bz2 pcsx_rearmed-28d74ee8c4a1eade72032aff056ab854d664ce48.zip |
drc: merge Ari64's patch: 21_debugging_stuff
Diffstat (limited to 'libpcsxcore')
-rw-r--r-- | libpcsxcore/new_dynarec/new_dynarec.c | 12 |
1 files changed, 10 insertions, 2 deletions
diff --git a/libpcsxcore/new_dynarec/new_dynarec.c b/libpcsxcore/new_dynarec/new_dynarec.c index c1fa775..d837138 100644 --- a/libpcsxcore/new_dynarec/new_dynarec.c +++ b/libpcsxcore/new_dynarec/new_dynarec.c @@ -3274,8 +3274,12 @@ void store_assemble(int i,struct regstat *i_regs) //if(opcode[i]==0x2B) /*if(opcode[i]==0x2B || opcode[i]==0x28 || opcode[i]==0x29 || opcode[i]==0x3F) { - //emit_pusha(); + #ifdef __i386__ + emit_pusha(); + #endif + #ifdef __arm__ save_regs(0x100f); + #endif emit_readword((int)&last_count,ECX); #ifdef __i386__ if(get_reg(i_regs->regmap,CCREG)<0) @@ -3294,8 +3298,12 @@ void store_assemble(int i,struct regstat *i_regs) emit_writeword(0,(int)&Count); #endif emit_call((int)memdebug); - //emit_popa(); + #ifdef __i386__ + emit_popa(); + #endif + #ifdef __arm__ restore_regs(0x100f); + #endif }/**/ } |