Search
lxdream.org :: lxdream/src/sh4/sh4core.in :: diff
lxdream 0.9.1
released Jun 29
Download Now
filename src/sh4/sh4core.in
changeset 1014:f5914b2fd0db
prev986:5090104b0963
next1065:bc1cc0c54917
author nkeynes
date Sun May 24 08:30:35 2009 +0000 (11 years ago)
permissions -rw-r--r--
last change 000068: Handle sh4_finalize_instruction being called from a syscall (assertion failure)
(Also introduce IS_SYSCALL() macro to tidy up slightly)
file annotate diff log raw
1.1 --- a/src/sh4/sh4core.in Tue Feb 24 11:50:17 2009 +0000
1.2 +++ b/src/sh4/sh4core.in Sun May 24 08:30:35 2009 +0000
1.3 @@ -239,6 +239,9 @@
1.4 unsigned short ir;
1.5 uint32_t tmp;
1.6
1.7 + if( IS_SYSCALL(sh4r.pc) ) {
1.8 + return;
1.9 + }
1.10 assert( IS_IN_ICACHE(sh4r.pc) );
1.11 ir = *(uint16_t *)GET_ICACHE_PTR(sh4r.pc);
1.12
.