mirror of
https://github.com/libretro/mgba.git
synced 2024-11-28 02:30:21 +00:00
Use proper literal sizes for uint64_t
This commit is contained in:
parent
f484ef9fa8
commit
0050fb23c3
@ -76,10 +76,10 @@ int main(int argc, char** argv) {
|
||||
}
|
||||
struct timeval tv;
|
||||
gettimeofday(&tv, 0);
|
||||
uint64_t start = 1000000 * tv.tv_sec + tv.tv_usec;
|
||||
uint64_t start = 1000000LL * tv.tv_sec + tv.tv_usec;
|
||||
_GBAPerfRunloop(&context, &frames, perfOpts.csv);
|
||||
gettimeofday(&tv, 0);
|
||||
uint64_t end = 1000000 * tv.tv_sec + tv.tv_usec;
|
||||
uint64_t end = 1000000LL * tv.tv_sec + tv.tv_usec;
|
||||
uint64_t duration = end - start;
|
||||
|
||||
GBAThreadJoin(&context);
|
||||
|
Loading…
Reference in New Issue
Block a user