Search
lxdream.org :: lxdream/src/sh4/sh4core.in :: diff
lxdream 0.9.1
released Jun 29
Download Now
filename src/sh4/sh4core.in
changeset 986:5090104b0963
prev984:a01567058a47
next1014:f5914b2fd0db
author nkeynes
date Tue Feb 24 11:50:17 2009 +0000 (11 years ago)
permissions -rw-r--r--
last change Fix minor warnings
Add explicit casts to mmap() result for platforms where it's not void *...
file annotate diff log raw
1.1 --- a/src/sh4/sh4core.in Sun Feb 15 21:47:39 2009 +0000
1.2 +++ b/src/sh4/sh4core.in Tue Feb 24 11:50:17 2009 +0000
1.3 @@ -339,8 +339,8 @@
1.4 sh4r.slice_cycle += sh4_cpu_period;
1.5 }
1.6
1.7 -#undef UNDEF(ir)
1.8 -#undef UNIMP(ir)
1.9 +#undef UNDEF
1.10 +#undef UNIMP
1.11
1.12 #define UNDEF(ir) return sh4_raise_slot_exception(EXC_ILLEGAL, EXC_SLOT_ILLEGAL)
1.13 #define UNIMP(ir) do{ ERROR( "Halted on unimplemented instruction at %08x, opcode = %04x", sh4r.pc, ir ); sh4_core_exit(CORE_EXIT_HALT); return FALSE; }while(0)
.