X-Git-Url: https://notaz.gp2x.de/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=frontend%2Fplat_omap.c;h=f397cc61bac3d88a0a008636c62e0c744bca4189;hb=288e55cb4784f2313821551ef97addffce49eb99;hp=e5b6c04ed48b066f51112673aa50d7cb5ed245a6;hpb=99d767a0cbf8ee7406000cbac647d9681d885282;p=pcsx_rearmed.git diff --git a/frontend/plat_omap.c b/frontend/plat_omap.c index e5b6c04e..f397cc61 100644 --- a/frontend/plat_omap.c +++ b/frontend/plat_omap.c @@ -14,10 +14,10 @@ #include #include -#include "common/menu.h" -#include "common/input.h" -#include "linux/fbdev.h" -#include "linux/xenv.h" +#include "libpicofe/menu.h" +#include "libpicofe/input.h" +#include "libpicofe/linux/fbdev.h" +#include "libpicofe/linux/xenv.h" #include "plugin_lib.h" #include "pl_gun_ts.h" #include "plat.h" @@ -99,7 +99,7 @@ void *plat_gvideo_set_mode(int *w, int *h, int *bpp) int l = 0, r = 0, t = 0, b = 0; void *buf; - if (g_scaler == SCALE_1_1) { + if (g_scaler == SCALE_1_1 || g_scaler == SCALE_2_2) { if (*w > g_menuscreen_w) l = r = (*w - g_menuscreen_w) / 2; if (*h > g_menuscreen_h)