Search
lxdream.org :: lxdream/src/pvr2/pvr2mem.c :: diff
lxdream 0.9.1
released Jun 29
Download Now
filename src/pvr2/pvr2mem.c
changeset 502:c4ecae2b1b5e
prev477:9a373f2ff009
next561:533f6b478071
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/pvr2/pvr2mem.c Wed Oct 31 09:10:23 2007 +0000
1.2 +++ b/src/pvr2/pvr2mem.c Thu Nov 08 11:54:16 2007 +0000
1.3 @@ -1,5 +1,5 @@
1.4 /**
1.5 - * $Id: pvr2mem.c,v 1.11 2007-10-31 09:10:23 nkeynes Exp $
1.6 + * $Id: pvr2mem.c,v 1.12 2007-11-08 11:54:16 nkeynes Exp $
1.7 *
1.8 * PVR2 (Video) VRAM handling routines (mainly for the 64-bit region)
1.9 *
1.10 @@ -37,7 +37,7 @@
1.11 if( region == 0 ) {
1.12 pvr2_vram64_write( destaddr, src, count );
1.13 } else {
1.14 - char *dest = mem_get_region(destaddr);
1.15 + unsigned char *dest = mem_get_region(destaddr);
1.16 memcpy( dest, src, count );
1.17 }
1.18 break;
1.19 @@ -51,7 +51,7 @@
1.20 if( region == 0 ) {
1.21 pvr2_vram64_write( destaddr, src, count );
1.22 } else {
1.23 - char *dest = mem_get_region(destaddr);
1.24 + unsigned char *dest = mem_get_region(destaddr);
1.25 memcpy( dest, src, count );
1.26 }
1.27 }
.