1
0
mirror of https://github.com/specht/champ.git synced 2024-11-26 01:49:20 +00:00

new options

This commit is contained in:
Michael Specht 2018-02-07 22:48:58 +01:00
parent fe8088a224
commit 91f51c61d5

View File

@ -1115,7 +1115,7 @@ int main(int argc, char** argv)
frame_count += 1;
// printf("%ld\n", (cpu.total_cycles - last_frame_cycle_count));
// printf("%d\n", (uint64_t)((double)frame_cycle_count / frame_count));
if (frame_count >= 100)
if ((max_frames > 0) && (frame_count >= max_frames))
break;
}
last_frame_cycle_count = cpu.total_cycles;