mirror of https://github.com/mgba-emu/mgba.git
Fix types for some LP64 systems
This commit is contained in:
parent
b12f7a136e
commit
0890d21645
|
@ -5,6 +5,7 @@
|
|||
#include <errno.h>
|
||||
#include <fcntl.h>
|
||||
#include <signal.h>
|
||||
#include <inttypes.h>
|
||||
#include <sys/time.h>
|
||||
|
||||
#define PERF_OPTIONS "F:NPS:"
|
||||
|
@ -96,9 +97,9 @@ int main(int argc, char** argv) {
|
|||
} else {
|
||||
rendererName = "software";
|
||||
}
|
||||
printf("%s,%i,%llu,%s\n", gameCode, frames, duration, rendererName);
|
||||
printf("%s,%i,%" PRIu64 ",%s\n", gameCode, frames, duration, rendererName);
|
||||
} else {
|
||||
printf("%u frames in %llu microseconds: %g fps (%gx)\n", frames, duration, scaledFrames / duration, scaledFrames / (duration * 60.f));
|
||||
printf("%u frames in %" PRIu64 " microseconds: %g fps (%gx)\n", frames, duration, scaledFrames / duration, scaledFrames / (duration * 60.f));
|
||||
}
|
||||
|
||||
return 0;
|
||||
|
|
Loading…
Reference in New Issue