aboutsummaryrefslogtreecommitdiff
path: root/scaf/pdp/pdp_ca_system.c
diff options
context:
space:
mode:
Diffstat (limited to 'scaf/pdp/pdp_ca_system.c')
-rw-r--r--scaf/pdp/pdp_ca_system.c16
1 files changed, 8 insertions, 8 deletions
diff --git a/scaf/pdp/pdp_ca_system.c b/scaf/pdp/pdp_ca_system.c
index 0800380..5e30850 100644
--- a/scaf/pdp/pdp_ca_system.c
+++ b/scaf/pdp/pdp_ca_system.c
@@ -87,16 +87,16 @@ if (srcindex >= (s >> 4)) post ("pdp_type_ca2grey: srcindex out of bound");
if ((x+y) >= s) post ("pdp_type_ca2grey: dstindex out of bound");
- /* dont' shift offset */
+ /* debug : dont' shift offset
if (0){
- for(y=0; y< (h*w); y+=w){
- for(x=0; x<w; x+=16){
- _pdp_type_ca2grey_convert_word (source[(x+y)>>4], &dest[x+y]);
- }
- }
- return newpacket;
+ for(y=0; y< (h*w); y+=w){
+ for(x=0; x<w; x+=16){
+ _pdp_type_ca2grey_convert_word (source[(x+y)>>4], &dest[x+y]);
+ }
+ }
+ return newpacket;
}
-
+ */
/* create top left */
for (y=0; y < (h*w) - yoffset; y+=w) {