filename | src/sh4/sh4trans.c |
changeset | 1014:f5914b2fd0db |
prev | 1003:7b2688cbbca3 |
next | 1065:bc1cc0c54917 |
author | nkeynes |
date | Mon Jun 08 04:12:21 2009 +0000 (14 years ago) |
permissions | -rw-r--r-- |
last change | General cleanup of the GD-rom subsystem - merge gdrom_image_t and gdrom_disc_t - Abstract MMC devices using a lower-level scsi transport - OSX: only look at the whole disc device, and ignore partitions |
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 Mon Jun 08 04:12:21 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 }
.