From 450203873cc3d6d2986c2c3cb19ec5e251913dc9 Mon Sep 17 00:00:00 2001 From: sparky4 Date: Fri, 10 Mar 2017 14:21:12 -0600 Subject: [PATCH] __seguse.txt added to show _seg usage also OpenVGMFile needs to be ported to 16_snd.c ][ ca needs huge amounts of work and i should remember what needs to be done soon also i should reverify 16_in.c to make sure it can work with other code of id engine ][ added 1.9 support wwww and fixed 16_vlpal.obj compile error\~ [it was a 8.3 file name extention error it was a simple issue wwww] [going to work on more on 16_in.c] --- src/lib/16_timer.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/lib/16_timer.c b/src/lib/16_timer.c index affe6738..a9dba5d5 100755 --- a/src/lib/16_timer.c +++ b/src/lib/16_timer.c @@ -22,14 +22,14 @@ #include "src/lib/16_timer.h" -//static word far* clockw= (word far*) 0x046C; /* 18.2hz clock */ +static word far* clockw= (word far*) 0x046C; /* 18.2hz clock */ clock_t start_timer(global_game_variables_t *gv) { gv->kurokku.t = clock(); gv->kurokku.tiku = 0; gv->video.sfip = 0; - gv->kurokku.clock_start = 0x046C; /* 18.2hz clock */ - gv->kurokku.clock = (word far*) 0x046C; /* 18.2hz clock */ + gv->kurokku.clock_start = *clockw; + gv->kurokku.clock = clockw; gv->kurokku.wcpu = WCPU_detectcpu(); //turn this off if XT -- 2.39.5