summaryrefslogtreecommitdiff
path: root/plugins/peopsxgl/cfg.c
diff options
context:
space:
mode:
authorStelios Tsampas <loathingkernel@gmail.com>2018-12-24 19:11:06 +0200
committerStelios Tsampas <loathingkernel@gmail.com>2018-12-24 19:11:06 +0200
commit91320854449bb88cdcec8c6bf89af859372e1ff5 (patch)
tree4179652ae3e2d8c0e73f4d41776f958922765c49 /plugins/peopsxgl/cfg.c
parent7ce3857e14aa0e6e00c52b918661933a2b2ecc39 (diff)
downloadpcsxr-91320854449bb88cdcec8c6bf89af859372e1ff5.tar.gz
Add Line Hack Mode selection box for Linux UI
Diffstat (limited to 'plugins/peopsxgl/cfg.c')
-rw-r--r--plugins/peopsxgl/cfg.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/plugins/peopsxgl/cfg.c b/plugins/peopsxgl/cfg.c
index e43fa116..0535c5ea 100644
--- a/plugins/peopsxgl/cfg.c
+++ b/plugins/peopsxgl/cfg.c
@@ -111,6 +111,11 @@ void ReadConfigFile()
if(iFrameReadType==4) bFullVRam=TRUE;
else bFullVRam=FALSE;
+ strcpy(t,"\nLineHackMode");p=strstr(pB,t);if(p) {p=strstr(p,"=");len=1;}
+ if(p) iLineHackMode=atoi(p+len);
+ if(iLineHackMode<0) iLineHackMode=0;
+ if(iLineHackMode>2) iLineHackMode=2;
+
strcpy(t,"\nTexFilter");p=strstr(pB,t);if(p) {p=strstr(p,"=");len=1;}
if(p) iFilterType=atoi(p+len);
if(iFilterType<0) iFilterType=0;
@@ -239,6 +244,7 @@ void ReadConfig(void) // read config (linux fil
bUseFixes=FALSE;
iFrameTexType=1;
iFrameReadType=0;
+ iLineHackMode=0;
bUse15bitMdec=FALSE;
iShowFPS=0;
bGteAccuracy=0;