changeset 923:0f477446448d

Cosmetics.
author Matti Hamalainen <ccr@tnsp.org>
date Wed, 25 Feb 2015 15:09:37 +0200
parents 658bf4c452d0
children 732787cccca8
files tools/lib64gfx.c tools/lib64gfx.h
diffstat 2 files changed, 5 insertions(+), 5 deletions(-) [+]
line wrap: on
line diff
--- a/tools/lib64gfx.c	Wed Feb 25 14:30:19 2015 +0200
+++ b/tools/lib64gfx.c	Wed Feb 25 15:09:37 2015 +0200
@@ -859,7 +859,8 @@
 }
 
 
-static inline Uint8 dmC64GetMCColor(const DMC64Image *img, const int bits, const int cbank, const int vbank, const int scroffs)
+static inline Uint8 dmC64GetMCColor(const DMC64Image *img,
+    const int bits, const int cbank, const int vbank, const int scroffs)
 {
     switch (bits)
     {
--- a/tools/lib64gfx.h	Wed Feb 25 14:30:19 2015 +0200
+++ b/tools/lib64gfx.h	Wed Feb 25 15:09:37 2015 +0200
@@ -21,9 +21,9 @@
 #define C64_SCR_HEIGHT         200
 #define C64_SCR_CH_WIDTH       (C64_SCR_WIDTH/8)
 #define C64_SCR_CH_HEIGHT      (C64_SCR_HEIGHT/8)
-#define C64_SCR_COLOR_SIZE     (C64_SCR_CH_WIDTH * C64_SCR_CH_HEIGHT)
-#define C64_SCR_SCREEN_SIZE    (C64_SCR_CH_WIDTH * C64_SCR_CH_HEIGHT)
-#define C64_SCR_BITMAP_SIZE    (C64_SCR_WIDTH * C64_SCR_HEIGHT/8)
+#define C64_SCR_COLOR_SIZE     ((C64_SCR_CH_WIDTH) * (C64_SCR_CH_HEIGHT))
+#define C64_SCR_SCREEN_SIZE    ((C64_SCR_CH_WIDTH) * (C64_SCR_CH_HEIGHT))
+#define C64_SCR_BITMAP_SIZE    ((C64_SCR_WIDTH * C64_SCR_HEIGHT)/8)
 #define C64_SCR_EXTRADATA      1024
 #define C64_SCR_MAX_BANK       8
 
@@ -197,7 +197,6 @@
 } DMC64ImageFormat;
 
 
-extern const size_t      dmC64DefaultSizes[DT_LAST];
 extern DMColor           dmC64Palette[C64_NCOLORS];
 extern const DMC64ImageFormat  dmC64ImageFormats[];
 extern const int         ndmC64ImageFormats;