projects
/
retrobench
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
dos: stop logger and write fps to the console before exiting
[retrobench]
/
src
/
dos
/
main.c
diff --git
a/src/dos/main.c
b/src/dos/main.c
index
f048366
..
048aa9d
100644
(file)
--- a/
src/dos/main.c
+++ b/
src/dos/main.c
@@
-67,8
+67,10
@@
int main(int argc, char **argv)
end:
set_text_mode();
cleanup_video();
+ stop_logger();
if(num_frames) {
+ printf("%d frames in %d msec\n", num_frames, time_msec);
printf("avg framerate: %.1f fps\n", (10000 * num_frames / time_msec) / 10.0f);
}
return 0;