aboutsummaryrefslogtreecommitdiff
path: root/frontend
diff options
context:
space:
mode:
authornotaz2011-12-19 23:32:49 +0200
committernotaz2011-12-19 23:37:03 +0200
commit89c0de4234815e0fa9e8399b940ecec6c89a062b (patch)
treea1b72ef419e02b72d272df1bedc0b61ef3754f4f /frontend
parent9a6e78167b192106ed58bfac00e82f4c6caa2586 (diff)
downloadpcsx_rearmed-89c0de4234815e0fa9e8399b940ecec6c89a062b.tar.gz
pcsx_rearmed-89c0de4234815e0fa9e8399b940ecec6c89a062b.tar.bz2
pcsx_rearmed-89c0de4234815e0fa9e8399b940ecec6c89a062b.zip
gpu_neon: make use of unai's lineskip mode
Diffstat (limited to 'frontend')
-rw-r--r--frontend/menu.c2
-rw-r--r--frontend/plugin_lib.h1
2 files changed, 3 insertions, 0 deletions
diff --git a/frontend/menu.c b/frontend/menu.c
index 3142506..d3e16a4 100644
--- a/frontend/menu.c
+++ b/frontend/menu.c
@@ -283,6 +283,7 @@ static const struct {
CE_INTVAL_V(frameskip, 3),
CE_INTVAL_P(gpu_peops.iUseDither),
CE_INTVAL_P(gpu_peops.dwActFixes),
+ CE_INTVAL_P(gpu_unai.lineskip),
CE_INTVAL_P(gpu_unai.abe_hack),
CE_INTVAL_P(gpu_unai.no_light),
CE_INTVAL_P(gpu_unai.no_blend),
@@ -1191,6 +1192,7 @@ static int menu_loop_gfx_options(int id, int keys)
static menu_entry e_menu_plugin_gpu_unai[] =
{
+ mee_onoff ("Skip every 2nd line", 0, pl_rearmed_cbs.gpu_unai.lineskip, 1),
mee_onoff ("Abe's Odyssey hack", 0, pl_rearmed_cbs.gpu_unai.abe_hack, 1),
mee_onoff ("Disable lighting", 0, pl_rearmed_cbs.gpu_unai.no_light, 1),
mee_onoff ("Disable blending", 0, pl_rearmed_cbs.gpu_unai.no_blend, 1),
diff --git a/frontend/plugin_lib.h b/frontend/plugin_lib.h
index 0ec55a2..2806056 100644
--- a/frontend/plugin_lib.h
+++ b/frontend/plugin_lib.h
@@ -59,6 +59,7 @@ struct rearmed_cbs {
struct {
int abe_hack;
int no_light, no_blend;
+ int lineskip;
} gpu_unai;
};