mirror of
https://github.com/blawar/GLideN64.git
synced 2024-07-04 10:03:36 +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:
parent
58636fcee6
commit
757c3c4f8f
|
@ -124,6 +124,7 @@ void VI_UpdateScreen()
|
||||||
VI_UpdateSize();
|
VI_UpdateSize();
|
||||||
bVIUpdated = true;
|
bVIUpdated = true;
|
||||||
wnd.updateScale();
|
wnd.updateScale();
|
||||||
|
perf.increaseFramesCount();
|
||||||
}
|
}
|
||||||
|
|
||||||
if (config.frameBufferEmulation.enable) {
|
if (config.frameBufferEmulation.enable) {
|
||||||
|
|
|
@ -875,8 +875,6 @@ void gDPFullSync()
|
||||||
FrameBuffer_CopyDepthBuffer(gDP.colorImage.address);
|
FrameBuffer_CopyDepthBuffer(gDP.colorImage.address);
|
||||||
}
|
}
|
||||||
|
|
||||||
perf.increaseFramesCount();
|
|
||||||
|
|
||||||
*REG.MI_INTR |= MI_INTR_DP;
|
*REG.MI_INTR |= MI_INTR_DP;
|
||||||
|
|
||||||
CheckInterrupts();
|
CheckInterrupts();
|
||||||
|
|
Loading…
Reference in New Issue
Block a user