diff options
author | B. Watson <yalhcru@gmail.com> | 2016-09-21 04:41:53 -0400 |
---|---|---|
committer | B. Watson <yalhcru@gmail.com> | 2016-09-21 04:41:53 -0400 |
commit | 105ddd8c6b16b9dc0d1eb7ddb97dc429d24242b4 (patch) | |
tree | e05c99ec4f20a49f427a01ccda643e628a7ca164 /graftest/graftest.c | |
parent | e7705e66b7b5dd34f20508427b3c50cc0568349a (diff) | |
download | jumpmanjr-master.tar.gz |
Diffstat (limited to 'graftest/graftest.c')
-rw-r--r-- | graftest/graftest.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/graftest/graftest.c b/graftest/graftest.c index 81997f2..5dbfcfc 100644 --- a/graftest/graftest.c +++ b/graftest/graftest.c @@ -211,7 +211,7 @@ int main(int argc, char **argv) { render_level(lev); while(!done) { start = SDL_GetTicks(); - end = start + 167; // NTSC timing + end = start + 16; // NTSC timing while(SDL_PollEvent(&event)) { if(event.type == SDL_QUIT) { @@ -259,7 +259,7 @@ int main(int argc, char **argv) { SDL_Delay(end - now); // fprintf(stderr, "frame took %d ms\n", now - start); } else { - // fprintf(stderr, "!! frame took too long, %d ms\n", now - end); + fprintf(stderr, "!! frame took too long by %d ms\n", now - end); } } |