]> 4ch.mooo.com Git - 16.git/commitdiff
__seguse.txt added to show _seg usage also OpenVGMFile needs to be ported to 16_snd...
authorsparky4 <sparky4@cock.li>
Fri, 10 Mar 2017 20:21:12 +0000 (14:21 -0600)
committersparky4 <sparky4@cock.li>
Fri, 10 Mar 2017 20:21:12 +0000 (14:21 -0600)
src/lib/16_timer.c

index affe67380054ec537f28d002fc3a064eea60caba..a9dba5d5d26eeeb58792e1bf0bfdc8ecffe0d7ea 100755 (executable)
 \r
 #include "src/lib/16_timer.h"\r
 \r
-//static word far* clockw= (word far*) 0x046C; /* 18.2hz clock */\r
+static word far* clockw= (word far*) 0x046C; /* 18.2hz clock */\r
 \r
 clock_t start_timer(global_game_variables_t *gv)\r
 {\r
        gv->kurokku.t = clock();\r
        gv->kurokku.tiku = 0; gv->video.sfip = 0;\r
-       gv->kurokku.clock_start = 0x046C; /* 18.2hz clock */\r
-       gv->kurokku.clock = (word far*) 0x046C; /* 18.2hz clock */\r
+       gv->kurokku.clock_start = *clockw;\r
+       gv->kurokku.clock = clockw;\r
        gv->kurokku.wcpu = WCPU_detectcpu();\r
 \r
        //turn this off if XT\r