aboutsummaryrefslogtreecommitdiff
path: root/frontend/menu.c
diff options
context:
space:
mode:
authornotaz2012-08-13 00:02:23 +0300
committernotaz2012-10-12 00:05:07 +0300
commit0b02eb7712f1272fa7f38b0af41968b53af3b5a8 (patch)
tree4669cafcabf88f0a5be798bbcca8626937767dc1 /frontend/menu.c
parentcb88320b4ddbfd8c1714f9a6cba31543a585a8cd (diff)
downloadpcsx_rearmed-0b02eb7712f1272fa7f38b0af41968b53af3b5a8.tar.gz
pcsx_rearmed-0b02eb7712f1272fa7f38b0af41968b53af3b5a8.tar.bz2
pcsx_rearmed-0b02eb7712f1272fa7f38b0af41968b53af3b5a8.zip
add support for software-enhanced rendering
Diffstat (limited to 'frontend/menu.c')
-rw-r--r--frontend/menu.c8
1 files changed, 7 insertions, 1 deletions
diff --git a/frontend/menu.c b/frontend/menu.c
index 42a53e1..2fc56ba 100644
--- a/frontend/menu.c
+++ b/frontend/menu.c
@@ -288,6 +288,8 @@ 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_neon.enhancement_enable),
+ CE_INTVAL_P(gpu_neon.enhancement_no_main),
CE_INTVAL_P(gpu_peopsgl.bDrawDither),
CE_INTVAL_P(gpu_peopsgl.iFilterType),
CE_INTVAL_P(gpu_peopsgl.iFrameTexType),
@@ -1119,17 +1121,21 @@ void menu_set_filter_list(void *filters)
#ifdef __ARM_NEON__
static const char h_gpu_neon[] = "Configure built-in NEON GPU plugin";
+static const char h_gpu_neon_enhanced[] = "Renders in double resolution at the cost of lower performance";
+static const char h_gpu_neon_enhanced_hack[] = "Speed hack for above option (glitches some games)";
static const char *men_gpu_interlace[] = { "Off", "On", "Auto", NULL };
static menu_entry e_menu_plugin_gpu_neon[] =
{
mee_enum ("Enable interlace mode", 0, pl_rearmed_cbs.gpu_neon.allow_interlace, men_gpu_interlace),
+ mee_onoff_h ("Enhanced resolution (slow)", 0, pl_rearmed_cbs.gpu_neon.enhancement_enable, 1, h_gpu_neon_enhanced),
+ mee_onoff_h ("Enhanced res. speed hack", 0, pl_rearmed_cbs.gpu_neon.enhancement_no_main, 1, h_gpu_neon_enhanced_hack),
mee_end,
};
static int menu_loop_plugin_gpu_neon(int id, int keys)
{
- int sel = 0;
+ static int sel = 0;
me_loop(e_menu_plugin_gpu_neon, &sel);
return 0;
}