--- trunk/src/emul.c 2007/10/08 16:20:26 28 +++ trunk/src/emul.c 2007/10/08 16:20:40 30 @@ -25,7 +25,7 @@ * SUCH DAMAGE. * * - * $Id: emul.c,v 1.258 2006/07/20 21:52:59 debug Exp $ + * $Id: emul.c,v 1.260 2006/07/26 23:21:47 debug Exp $ * * Emulation startup and misc. routines. */ @@ -1271,7 +1271,7 @@ break; case ARCH_SH: - if (cpu->cd.sh.bits == 32) + if (cpu->cd.sh.cpu_type.bits == 32) cpu->pc &= 0xffffffffULL; cpu->pc &= ~1; break; @@ -1336,8 +1336,7 @@ useremul_setup(cpu, n_load, load_names); /* Startup the bootstrap CPU: */ - cpu->bootstrap_cpu_flag = 1; - cpu->running = 1; + cpu->running = 1; /* ... or pause all CPUs, if start_paused is set: */ if (m->start_paused) {