diff options
author | notaz | 2012-04-22 01:56:22 +0300 |
---|---|---|
committer | notaz | 2012-04-29 19:32:08 +0300 |
commit | 6469a8c407ff23af8b7a6218f759b368eec7c339 (patch) | |
tree | 3e5c8e2cd08f3f4dc059b5248879d8a37ff51db0 /frontend/menu.c | |
parent | 1f219c7b8a6f2b7a70f595ccdfe419ea034c9411 (diff) | |
download | pcsx_rearmed-6469a8c407ff23af8b7a6218f759b368eec7c339.tar.gz pcsx_rearmed-6469a8c407ff23af8b7a6218f759b368eec7c339.tar.bz2 pcsx_rearmed-6469a8c407ff23af8b7a6218f759b368eec7c339.zip |
frontend: clean up some hacks
Diffstat (limited to 'frontend/menu.c')
-rw-r--r-- | frontend/menu.c | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/frontend/menu.c b/frontend/menu.c index 27ba825..989c6ec 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" @@ -1147,7 +1146,7 @@ static int menu_loop_cscaler(int id, int keys) scaling = SCALE_CUSTOM; - omap_enable_layer(1); + plat_gvideo_open(); for (;;) { @@ -1182,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; } @@ -2258,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; |