X-Git-Url: https://notaz.gp2x.de/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=frontend%2Fmenu.c;h=6c669dc3c447d761ce9d1ab26f7ef60f6c3ab570;hb=58824199e7bf045876c70c3301093dc081e470ec;hp=2b0d2cfd8a31421ebcc81154e4fa6accb45e3550;hpb=b1597174de1c1f038382e8839431d4177809bc0a;p=pcsx_rearmed.git diff --git a/frontend/menu.c b/frontend/menu.c index 2b0d2cfd..6c669dc3 100644 --- a/frontend/menu.c +++ b/frontend/menu.c @@ -450,6 +450,7 @@ static const struct { 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_neon.enhancement_tex_adj), CE_INTVAL_P(gpu_peopsgl.bDrawDither), CE_INTVAL_P(gpu_peopsgl.iFilterType), CE_INTVAL_P(gpu_peopsgl.iFrameTexType), @@ -903,6 +904,7 @@ me_bind_action emuctrl_actions[] = { "Volume Up ", 1 << SACTION_VOLUME_UP }, { "Volume Down ", 1 << SACTION_VOLUME_DOWN }, #endif + { "Analog toggle ", 1 << SACTION_ANALOG_TOGGLE }, { NULL, 0 } }; @@ -1311,7 +1313,7 @@ static int menu_loop_cscaler(int id, int keys) for (;;) { if (saved_layer && last_vout_bpp == 16) { - int top_x = max(0, -g_layer_x * last_vout_h / 800) + 1; + int top_x = max(0, -g_layer_x * last_vout_w / 800) + 1; int top_y = max(0, -g_layer_y * last_vout_h / 480) + 1; char text[128]; memcpy(pl_vout_buf, saved_layer, saved_layer_size); @@ -1413,6 +1415,7 @@ 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", 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_onoff ("Enh. res. texture adjust", 0, pl_rearmed_cbs.gpu_neon.enhancement_tex_adj, 1), mee_end, };