optifying only in maemo5
[drnoksnes] / gfx.h
diff --git a/gfx.h b/gfx.h
index 97f1c1a..281f418 100644 (file)
--- a/gfx.h
+++ b/gfx.h
@@ -69,7 +69,7 @@ struct SGFX{
     uint8  Z1;
     uint8  Z2;
     uint32 FixedColour;
-    const char *InfoString;
+    char *InfoString;
     uint32 InfoStringTimeout;
     uint32 StartY;
     uint32 EndY;
@@ -203,13 +203,13 @@ GFX.ZERO [(((C1) | RGB_HI_BITS_MASKx2) - \
           ((C2) & RGB_REMOVE_LOW_BITS_MASK)) >> 1]
 
 typedef void (*NormalTileRenderer) (uint32 Tile, uint32 Offset, 
-                                   uint32 StartLine, uint32 LineCount, struct SGFX * gfx);
+                                   uint32 StartLine, uint32 LineCount);
 typedef void (*ClippedTileRenderer) (uint32 Tile, uint32 Offset,
                                     uint32 StartPixel, uint32 Width,
-                                    uint32 StartLine, uint32 LineCount, struct SGFX * gfx);
+                                    uint32 StartLine, uint32 LineCount);
 typedef void (*LargePixelRenderer) (uint32 Tile, uint32 Offset,
                                    uint32 StartPixel, uint32 Pixels,
-                                   uint32 StartLine, uint32 LineCount, struct SGFX * gfx);
+                                   uint32 StartLine, uint32 LineCount);
 
 START_EXTERN_C
 void S9xStartScreenRefresh ();