X-Git-Url: https://notaz.gp2x.de/cgi-bin/gitweb.cgi?p=fceu.git;a=blobdiff_plain;f=drivers%2Fgp2x%2Fgp2x-video.c;h=198222d32d6adc72e22fa0dfdffe5564269af05a;hp=9b73e468a9a0252fb504e0744bdf1224d99643bd;hb=0bb3fe122854be9af6c3024fef9f503d27bc63a1;hpb=d0f72c9ab3d6acf18f236970c1c359fafa3e1ce7 diff --git a/drivers/gp2x/gp2x-video.c b/drivers/gp2x/gp2x-video.c index 9b73e46..198222d 100644 --- a/drivers/gp2x/gp2x-video.c +++ b/drivers/gp2x/gp2x-video.c @@ -99,7 +99,7 @@ int InitVideo(void) } -// 16: rrrr rggg gggb bbbb +// 16: rrrr rggg gg0b bbbb void FCEUD_SetPalette(uint8 index, uint8 r, uint8 g, uint8 b) { /* note: menu depends on bit5 being 0 */ @@ -167,8 +167,6 @@ void BlitScreen(uint8 *buf) framesRendered++; - printFps(gp2x_screen); - if (eoptions & EO_CLIPSIDES) { int i, *p = (int *) ((char *)gp2x_screen + 32); @@ -178,6 +176,8 @@ void BlitScreen(uint8 *buf) } } + printFps(gp2x_screen); + if (Settings.scaling == 3) { soft_scale((char *)gp2x_screen + 32, gp2x_palette16, srendline, erendline-srendline);