summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorwithmorten <morten.with@gmail.com>2021-01-29 16:46:03 +0100
committerwithmorten <morten.with@gmail.com>2021-01-29 16:46:03 +0100
commitf7fc919d98cd5762d1f033f162d741f09cb93551 (patch)
tree5f6b55040e5b8ccba55b6c51a4427cb2cd1582f3
parentCdStreamPosix fixes (diff)
downloadre3-f7fc919d98cd5762d1f033f162d741f09cb93551.tar
re3-f7fc919d98cd5762d1f033f162d741f09cb93551.tar.gz
re3-f7fc919d98cd5762d1f033f162d741f09cb93551.tar.bz2
re3-f7fc919d98cd5762d1f033f162d741f09cb93551.tar.lz
re3-f7fc919d98cd5762d1f033f162d741f09cb93551.tar.xz
re3-f7fc919d98cd5762d1f033f162d741f09cb93551.tar.zst
re3-f7fc919d98cd5762d1f033f162d741f09cb93551.zip
Diffstat (limited to '')
-rw-r--r--src/core/re3.cpp6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/core/re3.cpp b/src/core/re3.cpp
index 7c780516..37b2cdf0 100644
--- a/src/core/re3.cpp
+++ b/src/core/re3.cpp
@@ -396,6 +396,9 @@ bool LoadINISettings()
ReadIniIfExists("CustomPipesValues", "LightmapMult", &CustomPipes::LightmapMult);
ReadIniIfExists("CustomPipesValues", "GlossMult", &CustomPipes::GlossMult);
#endif
+#ifdef NEW_RENDERER
+ ReadIniIfExists("Rendering", "NewRenderer", &gbNewRenderer);
+#endif
#ifdef PROPER_SCALING
ReadIniIfExists("Draw", "ProperScaling", &CDraw::ms_bProperScaling);
@@ -479,6 +482,9 @@ void SaveINISettings()
StoreIni("CustomPipesValues", "LightmapMult", CustomPipes::LightmapMult);
StoreIni("CustomPipesValues", "GlossMult", CustomPipes::GlossMult);
#endif
+#ifdef NEW_RENDERER
+ StoreIni("Rendering", "NewRenderer", gbNewRenderer);
+#endif
#ifdef PROPER_SCALING
StoreIni("Draw", "ProperScaling", CDraw::ms_bProperScaling);