git.shiar.nl
/
netris.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
code duplication
[netris.git]
/
util.c
diff --git
a/util.c
b/util.c
index a9c9451b799f40607b796aab2e535aabd0a28f8e..92a890859a7bb5f701afa30a3614c04f2f0a9bed 100644
(file)
--- a/
util.c
+++ b/
util.c
@@
-212,10
+212,7
@@
void ResumeTime(void)
long CurTimeval(void)
{
- struct timeval tv;
-
- gettimeofday(&tv, NULL);
- return GetTimeval(&tv) - baseTimeval;
+ return AbsTimeval() - baseTimeval;
}
static long SetITimer1(long interval, long value)