]> 4ch.mooo.com Git - 16.git/blobdiff - src/lib/16_timer.c
FPU detection added
[16.git] / src / lib / 16_timer.c
index 4ce497099cebb25424d5e575c92120a89313299f..e05232a0411fc322c3d4539030a48abb94cbac2b 100755 (executable)
@@ -22,6 +22,8 @@
 \r
 #include "src/lib/16_timer.h"\r
 \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
@@ -31,7 +33,7 @@ clock_t start_timer(global_game_variables_t *gv)
        //gv->kurokku.frames_per_second = 60;\r
 \r
     //turn this off if XT\r
-       switch(detectcpu())\r
+       switch(WCPU_detectcpu())\r
        {\r
                case 0:\r
                        gv->kurokku.fpscap=0;\r