X-Git-Url: http://4ch.mooo.com/gitweb/?a=blobdiff_plain;f=src%2Flib%2F16_timer.c;h=e45ee9484c4e6fe5d6b3c2322ebafea830815c55;hb=848c772e64209441c696de3d8101f7b3b81f1354;hp=6d00448fd698a68c16198154de86cca10ee2c59f;hpb=e191e856ff22b2a47fe89c72778802048f5a0fb0;p=16.git diff --git a/src/lib/16_timer.c b/src/lib/16_timer.c index 6d00448f..e45ee948 100755 --- a/src/lib/16_timer.c +++ b/src/lib/16_timer.c @@ -28,16 +28,18 @@ clock_t start_timer(global_game_variables_t *gv) gv->kurokku.tiku = 0; gv->kurokku.clock_start = *clockw; gv->kurokku.clock = clockw; - gv->kurokku.frames_per_second = 60; + //gv->kurokku.frames_per_second = 60; gv->pee = _nmalloc(sizeof(byte)*16); //turn this off if XT switch(detectcpu()) { case 0: gv->kurokku.fpscap=0; + gv->kurokku.frames_per_second=1; break; default: gv->kurokku.fpscap=1; + gv->kurokku.frames_per_second=60; break; } return gv->kurokku.t; @@ -79,17 +81,17 @@ void shinkutxt(global_game_variables_t *gv) gv->kurokku.tiku=0; } gv->kurokku.tiku++; - switch(gv->kurokku.fpscap) - { - case 0: - gv->kurokku.frames_per_second=1; - break; - case 1: - //turn this off if XT - WaitPee(); - gv->kurokku.frames_per_second=60; - break; - } +// switch(gv->kurokku.fpscap) +// { +// case 0: +// gv->kurokku.frames_per_second=1; +// break; +// case 1: +// //turn this off if XT +// WaitPee(); +// gv->kurokku.frames_per_second=60; +// break; +// } } void WaitPee()