X-Git-Url: https://notaz.gp2x.de/cgi-bin/gitweb.cgi?p=fceu.git;a=blobdiff_plain;f=drivers%2Fgp2x%2Fgp2x-video.c;h=6986df13dbd72890e463930f8c9c2f4e1890cd29;hp=d74023a7fa9d3af9c5db89b7c5c110a5884a021c;hb=b547bda76671cf9c99973dd3faad97804949ced3;hpb=b2b95d2e0d1fd5e52d03c2152605b09b024c1d0e diff --git a/drivers/gp2x/gp2x-video.c b/drivers/gp2x/gp2x-video.c index d74023a..6986df1 100644 --- a/drivers/gp2x/gp2x-video.c +++ b/drivers/gp2x/gp2x-video.c @@ -26,8 +26,6 @@ #include "minimal.h" #include "fonts.h" -extern int showfps; - static char fps_str[32]; static int framesEmulated, framesRendered; @@ -149,7 +147,7 @@ static INLINE void printFps(uint8 *screen) //*destt++ = 0x3F3F3F3F; *destt++ = 0x3F3F3F3F; *destt++ = 0x3F3F3F3F; *destt++ = 0x3F3F3F3F; //*destt++ = 0x3F3F3F3F; *destt++ = 0x3F3F3F3F; *destt++ = 0x3F3F3F3F; *destt++ = 0x3F3F3F3F; } - if (showfps) + if (Settings.showfps) { int sep; for (sep=1; sep < 5; sep++) @@ -163,7 +161,7 @@ static INLINE void printFps(uint8 *screen) } else { - if (showfps) + if (Settings.showfps) { gp2x_text(screen+32, 0, 0, fps_str, FPS_COLOR, 0); }