]> git.sur5r.net Git - c128-kasse/blobdiff - src/kasse.c
use correct constant to switch videomode
[c128-kasse] / src / kasse.c
index 53141dcdd080a6d72c0e540855a5f60f8e912a56..203d70f683ae5dfe198149227edb5911d8f1ddc7 100644 (file)
@@ -10,6 +10,7 @@
 #include <stdlib.h>
 #include <string.h>
 #include <cbm.h>
+#include <c128.h>
 
 #include "general.h"
 #include "config.h"
@@ -403,8 +404,7 @@ int main(void) {
   char *c;
   char *time;
 
-  if (VIDEOMODE == 40)
-    videomode(80);
+  videomode(VIDEOMODE_80x25);
 
   /* clock CPU at double the speed (a whopping 2 Mhz!) */
   fast();