1
0
mirror of https://github.com/blawar/GLideN64.git synced 2024-07-02 09:03:37 +00:00

Calc FPS as number of color buffer origin changes per second.

Fixed FPS counter not reporting correctly #1510
This commit is contained in:
Sergey Lipskiy 2017-10-30 15:33:38 +07:00
parent 58636fcee6
commit 757c3c4f8f
2 changed files with 1 additions and 2 deletions

View File

@ -124,6 +124,7 @@ void VI_UpdateScreen()
VI_UpdateSize();
bVIUpdated = true;
wnd.updateScale();
perf.increaseFramesCount();
}
if (config.frameBufferEmulation.enable) {

View File

@ -875,8 +875,6 @@ void gDPFullSync()
FrameBuffer_CopyDepthBuffer(gDP.colorImage.address);
}
perf.increaseFramesCount();
*REG.MI_INTR |= MI_INTR_DP;
CheckInterrupts();