summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorneonloop2021-03-31 21:14:54 +0000
committerneonloop2021-03-31 21:14:54 +0000
commitae67b055fec6a8cc843554d8190e018a6ae9b89d (patch)
tree74f0dc135e830ba1699b422447150a0f859ea200 /src
parent83932ce888f9148a8d49a5f9b7d3dd4ddf71822a (diff)
downloadsnes9x2002-ae67b055fec6a8cc843554d8190e018a6ae9b89d.tar.gz
snes9x2002-ae67b055fec6a8cc843554d8190e018a6ae9b89d.tar.bz2
snes9x2002-ae67b055fec6a8cc843554d8190e018a6ae9b89d.zip
Adds overscan scaler and fps display
Diffstat (limited to 'src')
-rw-r--r--src/gfx16.c7
1 files changed, 6 insertions, 1 deletions
diff --git a/src/gfx16.c b/src/gfx16.c
index 0c17f34..02ece3c 100644
--- a/src/gfx16.c
+++ b/src/gfx16.c
@@ -2534,11 +2534,16 @@ void DisplayChar(uint8* Screen, uint8 c)
}
}
+#ifdef TRIMUI
+#include "config.h"
+#endif
void S9xDisplayFrameRate()
{
char string[16];
uint8 *Screen = GFX.Screen;
-
+#ifdef TRIMUI
+ if (option.fullscreen == 4) Screen += GFX_PITCH *8 +16; // for Overscan
+#endif
sprintf(string, "%02d/%02d", IPPU.DisplayedRenderedFrameCount, (int)Memory.ROMFramesPerSecond);
for (int i = 0; i < 5; i++) {