* FPS counter displays target framerate

* fix potential hang and out-of-bounds drawing when VCount is modified during drawing
This commit is contained in:
StapleButter
2017-07-21 10:19:56 +02:00
parent cfb9e20fe1
commit 0df3a29374
5 changed files with 20 additions and 6 deletions

View File

@ -400,6 +400,7 @@ u32 RunFrame()
s32 ndscyclestorun;
s32 ndscycles = 0;
// TODO: give it some margin, so it can directly do 17 cycles instead of 16 then 1
CalcIterationCycles();
if (CPUStop & 0xFFFF)