diff tools/64vw.c @ 2125:56d4dc81774b

Rename various C64_* constants to D64_*.
author Matti Hamalainen <ccr@tnsp.org>
date Mon, 27 May 2019 08:35:35 +0300
parents 47ddbedf5b56
children cffadb745484
line wrap: on
line diff
--- a/tools/64vw.c	Mon May 27 08:27:01 2019 +0300
+++ b/tools/64vw.c	Mon May 27 08:35:35 2019 +0300
@@ -47,8 +47,8 @@
 
 void dmSetScaleFactor(float factor)
 {
-    optScrWidth = (int) ((float) C64_SCR_WIDTH * factor * C64_SCR_PAR_XY);
-    optScrHeight = (int) ((float) C64_SCR_HEIGHT * factor);
+    optScrWidth = (int) ((float) D64_SCR_WIDTH * factor * D64_SCR_PAR_XY);
+    optScrHeight = (int) ((float) D64_SCR_HEIGHT * factor);
 }
 
 
@@ -529,7 +529,7 @@
             dmC64ImageFree(cimage);
 
             if (surf == NULL && (surf = SDL_CreateRGBSurfaceWithFormat(0,
-                C64_SCR_WIDTH, C64_SCR_HEIGHT, 8, SDL_PIXELFORMAT_INDEX8)) == NULL)
+                D64_SCR_WIDTH, D64_SCR_HEIGHT, 8, SDL_PIXELFORMAT_INDEX8)) == NULL)
             {
                 dmErrorMsg("Could not allocate surface.\n");
                 goto exit;