X-Git-Url: http://4ch.mooo.com/gitweb/?a=blobdiff_plain;f=src%2Flib%2F16_timer.c;h=636a071df8006cee290aa39080333467b4c20eeb;hb=6021fc3f27b895d382fbd30488ead35657e39196;hp=c1716567221b88c3ce711dc9e2ad9b644ed69d0f;hpb=35f9e7e103ce902e941007e84389a754f16ec058;p=16.git diff --git a/src/lib/16_timer.c b/src/lib/16_timer.c index c1716567..636a071d 100755 --- a/src/lib/16_timer.c +++ b/src/lib/16_timer.c @@ -1,5 +1,5 @@ /* Project 16 Source Code~ - * Copyright (C) 2012-2017 sparky4 & pngwen & andrius4669 & joncampbell123 & yakui-lover + * Copyright (C) 2012-2018 sparky4 & pngwen & andrius4669 & joncampbell123 & yakui-lover * * This file is part of Project 16. * @@ -29,7 +29,7 @@ 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 = *clockw; - gv->kurokku.clock = clockw; + gv->kurokku.clock = (word *)clockw; gv->kurokku.wcpu = WCPU_detectcpu(); //turn this off if XT @@ -70,6 +70,7 @@ double time_in_seconds(global_game_variables_t *gv) return (in_t) / CLOCKS_PER_SEC; }*/ +#if 0 /* sync */ void shinkutxt(global_game_variables_t *gv) { @@ -96,7 +97,7 @@ void shinkutxt(global_game_variables_t *gv) // } } -#if 0 +//#if 0 void WaitPee() { while(inp(INPUT_STATUS_1) & 8) {