From: Maik Fischer Date: Mon, 25 Sep 2017 10:37:45 +0000 (+0200) Subject: itemz: fix depreciation warnings, make it fast() X-Git-Tag: rgb2rv17~15^2~1 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=25247771d9f73eac9768d5550d90a5f98aea06c5;p=c128-kasse itemz: fix depreciation warnings, make it fast() --- diff --git a/src/itemz.c b/src/itemz.c index e5e9f89..fcf3a9c 100644 --- a/src/itemz.c +++ b/src/itemz.c @@ -134,8 +134,13 @@ static void itemz_manager() { } int main(void) { - if (VIDEOMODE == 40) - toggle_videomode(); + if (VIDEOMODE == 40) { + videomode(80); + } + + /* clock CPU at double the speed (a whopping 2 Mhz!) */ + fast(); + credits.num_items = 0; status.num_items = 0; cprintf("itemz loading...\n");