aboutsummaryrefslogtreecommitdiff
path: root/plugins/gpu_unai
diff options
context:
space:
mode:
authornotaz2011-08-11 19:39:30 +0300
committernotaz2011-08-13 00:56:40 +0300
commit17a54a4a45daf9eed7665c520301691d4f2b08f3 (patch)
treede000af6fed62ff394cfe1f8a75daca76bf6e004 /plugins/gpu_unai
parent76f7048eff4f5357df048268e40b5bc6b9387fe5 (diff)
downloadpcsx_rearmed-17a54a4a45daf9eed7665c520301691d4f2b08f3.tar.gz
pcsx_rearmed-17a54a4a45daf9eed7665c520301691d4f2b08f3.tar.bz2
pcsx_rearmed-17a54a4a45daf9eed7665c520301691d4f2b08f3.zip
frontend: add gpu_unai configuration options
Diffstat (limited to 'plugins/gpu_unai')
-rw-r--r--plugins/gpu_unai/gpu.cpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/plugins/gpu_unai/gpu.cpp b/plugins/gpu_unai/gpu.cpp
index 3515814..4ee453d 100644
--- a/plugins/gpu_unai/gpu.cpp
+++ b/plugins/gpu_unai/gpu.cpp
@@ -972,6 +972,10 @@ long GPUfreeze(unsigned int ulGetFreezeData, GPUFreeze_t* p2)
void GPUrearmedCallbacks(const struct rearmed_cbs *cbs_)
{
+ enableAbbeyHack = cbs_->gpu_unai.abe_hack;
+ light = !cbs_->gpu_unai.no_light;
+ blend = !cbs_->gpu_unai.no_blend;
+
cbs = cbs_;
}