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/?a=commitdiff_plain;h=refs%2Fremotes%2Fmxf%2Fremove-dual-monitor;p=c128-kasse 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();