frontend: add 2x scaling option
[pcsx_rearmed.git] / frontend / plat_omap.c
index e5b6c04..f397cc6 100644 (file)
 #include <unistd.h>
 #include <linux/omapfb.h>
 
-#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)