filename | src/sh4/sh4trans.c |
changeset | 1014:f5914b2fd0db |
prev | 1003:7b2688cbbca3 |
next | 1065:bc1cc0c54917 |
author | nkeynes |
date | Sat Jun 13 07:12:51 2009 +0000 (14 years ago) |
permissions | -rw-r--r-- |
last change | Load plugins from the directory containing the executable first if they're there - simplifies development testing. Add dummy plugin for easy identification of the plugin directory |
file | annotate | diff | log | raw |
1.1 --- a/src/sh4/sh4trans.c Fri Mar 27 06:13:34 2009 +00001.2 +++ b/src/sh4/sh4trans.c Sat Jun 13 07:12:51 2009 +00001.3 @@ -46,7 +46,7 @@1.4 }1.6 if( code == NULL ) {1.7 - if( sh4r.pc > 0xFFFFFF00 ) {1.8 + if( IS_SYSCALL(sh4r.pc) ) {1.9 syscall_invoke( sh4r.pc );1.10 sh4r.in_delay_slot = 0;1.11 sh4r.pc = sh4r.pr;1.12 @@ -220,7 +220,7 @@1.13 return xlat_get_code( GET_ICACHE_PHYS(vma) );1.14 }1.16 - if( vma > 0xFFFFFF00 ) {1.17 + if( IS_SYSCALL(vma) ) {1.18 // lxdream hook1.19 return NULL;1.20 }
.