Search
lxdream.org :: lxdream :: r285:4fefedafebc6
lxdream 0.9.1
released Jun 29
Download Now
changeset285:4fefedafebc6
parent284:808617ee7135
child286:0fa5aae66f31
authornkeynes
dateMon Jan 15 10:10:51 2007 +0000 (12 years ago)
Fix pvr2_vram64_write_stride
src/pvr2/pvr2mem.c
1.1 --- a/src/pvr2/pvr2mem.c Mon Jan 15 08:32:09 2007 +0000
1.2 +++ b/src/pvr2/pvr2mem.c Mon Jan 15 10:10:51 2007 +0000
1.3 @@ -1,5 +1,5 @@
1.4 /**
1.5 - * $Id: pvr2mem.c,v 1.1 2007-01-15 08:32:09 nkeynes Exp $
1.6 + * $Id: pvr2mem.c,v 1.2 2007-01-15 10:10:51 nkeynes Exp $
1.7 *
1.8 * PVR2 (Video) VRAM handling routines (mainly for the 64-bit region)
1.9 *
1.10 @@ -102,10 +102,10 @@
1.11 *banks[bank_flag]++ = *dwsrc++;
1.12 bank_flag = !bank_flag;
1.13 }
1.14 - *banks[0] += line_gap;
1.15 - *banks[1] += line_gap;
1.16 + banks[0] += line_gap;
1.17 + banks[1] += line_gap;
1.18 if( line_gap_flag ) {
1.19 - *banks[bank_flag]++;
1.20 + banks[bank_flag]++;
1.21 bank_flag = !bank_flag;
1.22 }
1.23 }
.