X-Git-Url: https://notaz.gp2x.de/cgi-bin/gitweb.cgi?p=pcsx_rearmed.git;a=blobdiff_plain;f=frontend%2Fmenu.c;h=989c6ec95c02cb6c4f757da75ea5acad37092458;hp=2cfcc6e2f943600600a8fedee595fe8dba06b287;hb=6469a8c407ff23af8b7a6218f759b368eec7c339;hpb=a72ac8031937bb80f36e9392d07724a954995029 diff --git a/frontend/menu.c b/frontend/menu.c index 2cfcc6e2..989c6ec9 100644 --- a/frontend/menu.c +++ b/frontend/menu.c @@ -22,7 +22,6 @@ #include "config.h" #include "plugin.h" #include "plugin_lib.h" -#include "omap.h" #include "plat.h" #include "pcnt.h" #include "common/plat.h" @@ -295,6 +294,16 @@ static const struct { CE_INTVAL_P(gpu_unai.no_light), CE_INTVAL_P(gpu_unai.no_blend), CE_INTVAL_P(gpu_neon.allow_interlace), + CE_INTVAL_P(gpu_peopsgl.bDrawDither), + CE_INTVAL_P(gpu_peopsgl.iFilterType), + CE_INTVAL_P(gpu_peopsgl.iFrameTexType), + CE_INTVAL_P(gpu_peopsgl.iUseMask), + CE_INTVAL_P(gpu_peopsgl.bOpaquePass), + CE_INTVAL_P(gpu_peopsgl.bAdvancedBlend), + CE_INTVAL_P(gpu_peopsgl.bUseFastMdec), + CE_INTVAL_P(gpu_peopsgl.iVRamSize), + CE_INTVAL_P(gpu_peopsgl.iTexGarbageCollection), + CE_INTVAL_P(gpu_peopsgl.dwActFixes), CE_INTVAL_V(iUseReverb, 3), CE_INTVAL_V(iXAPitch, 3), CE_INTVAL_V(iUseInterpolation, 3), @@ -1137,7 +1146,7 @@ static int menu_loop_cscaler(int id, int keys) scaling = SCALE_CUSTOM; - omap_enable_layer(1); + plat_gvideo_open(); for (;;) { @@ -1172,11 +1181,12 @@ static int menu_loop_cscaler(int id, int keys) g_layer_w = 800 - g_layer_x; if (g_layer_y + g_layer_h > 480) g_layer_h = 480 - g_layer_y; - omap_enable_layer(1); + // resize the layer + plat_gvideo_open(); } } - omap_enable_layer(0); + plat_gvideo_close(); return 0; } @@ -2248,6 +2258,7 @@ void menu_init(void) #endif } +// XXX: should really menu code cotrol the layer size? void menu_notify_mode_change(int w, int h, int bpp) { float mult;