Search
lxdream.org :: lxdream/src/sh4/sh4x86.in :: diff
lxdream 0.9.1
released Jun 29
Download Now
filename src/sh4/sh4x86.in
changeset 502:c4ecae2b1b5e
prev417:bd927df302a9
next526:ba3da45b5754
author nkeynes
date Thu Nov 08 11:54:16 2007 +0000 (12 years ago)
permissions -rw-r--r--
last change Add sh4ptr_t type, start converting bare pointer refs to it
file annotate diff log raw
1.1 --- a/src/sh4/sh4x86.in Thu Oct 04 08:47:27 2007 +0000
1.2 +++ b/src/sh4/sh4x86.in Thu Nov 08 11:54:16 2007 +0000
1.3 @@ -1,5 +1,5 @@
1.4 /**
1.5 - * $Id: sh4x86.in,v 1.19 2007-10-04 08:47:27 nkeynes Exp $
1.6 + * $Id: sh4x86.in,v 1.20 2007-11-08 11:54:16 nkeynes Exp $
1.7 *
1.8 * SH4 => x86 translation. This version does no real optimization, it just
1.9 * outputs straight-line x86 code - it mainly exists to provide a baseline
1.10 @@ -1317,7 +1317,7 @@
1.11 SLOTILLEGAL();
1.12 } else {
1.13 uint32_t target = (pc & 0xFFFFFFFC) + disp + 4;
1.14 - char *ptr = mem_get_region(target);
1.15 + sh4ptr_t ptr = mem_get_region(target);
1.16 if( ptr != NULL ) {
1.17 MOV_moff32_EAX( (uint32_t)ptr );
1.18 } else {
.