1.1 --- a/src/sh4/sh4.c Wed Oct 31 09:02:18 2007 +0000
1.2 +++ b/src/sh4/sh4.c Thu Nov 08 11:54:16 2007 +0000
1.5 - * $Id: sh4.c,v 1.6 2007-10-31 09:02:18 nkeynes Exp $
1.6 + * $Id: sh4.c,v 1.7 2007-11-08 11:54:16 nkeynes Exp $
1.8 * SH4 parent module for all CPU modes and SH4 peripheral
1.11 struct sh4_registers sh4r;
1.12 struct breakpoint_struct sh4_breakpoints[MAX_BREAKPOINTS];
1.13 int sh4_breakpoint_count = 0;
1.14 -extern char *sh4_main_ram;
1.15 +extern sh4ptr_t sh4_main_ram;
1.17 void sh4_set_use_xlat( gboolean use )
1.19 @@ -106,6 +106,11 @@
1.23 + if( sh4_module.run_time_slice == sh4_xlat_run_slice ) {
1.24 + /* If we were running with the translator, update new_pc and in_delay_slot */
1.25 + sh4r.new_pc = sh4r.pc+2;
1.26 + sh4r.in_delay_slot = FALSE;