From 67ba0fb4fa3f120c4156ca7d6155c51b7623e84f Mon Sep 17 00:00:00 2001 From: notaz Date: Sun, 5 Dec 2010 17:00:51 +0200 Subject: drc: use direct hle calls --- libpcsxcore/new_dynarec/new_dynarec.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'libpcsxcore/new_dynarec/new_dynarec.c') diff --git a/libpcsxcore/new_dynarec/new_dynarec.c b/libpcsxcore/new_dynarec/new_dynarec.c index 62250d9..55e5ec9 100644 --- a/libpcsxcore/new_dynarec/new_dynarec.c +++ b/libpcsxcore/new_dynarec/new_dynarec.c @@ -3708,9 +3708,9 @@ void hlecall_assemble(int i,struct regstat *i_regs) assert(ccreg==HOST_CCREG); assert(!is_delayslot); emit_movimm(start+i*4+4,0); // Get PC - emit_movimm(source[i],1); // opcode + emit_movimm((int)psxHLEt[source[i]&7],1); emit_addimm(HOST_CCREG,CLOCK_DIVIDER*ccadj[i],HOST_CCREG); // XXX - emit_jmp((int)jump_hlecall); // XXX + emit_jmp((int)jump_hlecall); } void ds_assemble(int i,struct regstat *i_regs) -- cgit v1.2.3