summaryrefslogtreecommitdiff
path: root/src/gfx16.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/gfx16.c')
-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++) {