From: Maik Fischer Date: Tue, 26 Sep 2017 08:13:39 +0000 (+0200) Subject: use correct constant to switch videomode X-Git-Tag: rgb2rv17~15^2 X-Git-Url: https://git.sur5r.net/?p=c128-kasse;a=commitdiff_plain;h=e3cfeb64e598ae12843ec7a1dd4a1feda6638bce use correct constant to switch videomode --- diff --git a/src/itemz.c b/src/itemz.c index fcf3a9c..f04678c 100644 --- a/src/itemz.c +++ b/src/itemz.c @@ -134,9 +134,7 @@ static void itemz_manager() { } int main(void) { - if (VIDEOMODE == 40) { - videomode(80); - } + videomode(VIDEOMODE_80x25); /* clock CPU at double the speed (a whopping 2 Mhz!) */ fast(); diff --git a/src/kasse.c b/src/kasse.c index 53141dc..203d70f 100644 --- a/src/kasse.c +++ b/src/kasse.c @@ -10,6 +10,7 @@ #include #include #include +#include #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();