summaryrefslogtreecommitdiffstats
path: root/src/core/Game.cpp
diff options
context:
space:
mode:
authorSergeanur <s.anureev@yandex.ua>2020-07-22 17:29:17 +0200
committerSergeanur <s.anureev@yandex.ua>2020-07-22 17:29:17 +0200
commitf882586eb8647345e5f3aadfb09135ecd8288ea7 (patch)
treece110f328804e7d861967bb3d6da63661c6e00f9 /src/core/Game.cpp
parentMerge pull request #656 from erorcun/miami (diff)
parentREADME 64-bit preparation (diff)
downloadre3-f882586eb8647345e5f3aadfb09135ecd8288ea7.tar
re3-f882586eb8647345e5f3aadfb09135ecd8288ea7.tar.gz
re3-f882586eb8647345e5f3aadfb09135ecd8288ea7.tar.bz2
re3-f882586eb8647345e5f3aadfb09135ecd8288ea7.tar.lz
re3-f882586eb8647345e5f3aadfb09135ecd8288ea7.tar.xz
re3-f882586eb8647345e5f3aadfb09135ecd8288ea7.tar.zst
re3-f882586eb8647345e5f3aadfb09135ecd8288ea7.zip
Diffstat (limited to 'src/core/Game.cpp')
-rw-r--r--src/core/Game.cpp6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/core/Game.cpp b/src/core/Game.cpp
index b5ba5b69..de5881b5 100644
--- a/src/core/Game.cpp
+++ b/src/core/Game.cpp
@@ -151,6 +151,10 @@ CGame::InitialiseOnceBeforeRW(void)
return true;
}
+#if !defined(LIBRW) && defined(PS2_MATFX)
+void ReplaceMatFxCallback();
+#endif
+
bool
CGame::InitialiseRenderWare(void)
{
@@ -201,6 +205,8 @@ CGame::InitialiseRenderWare(void)
#else
rw::MatFX::modulateEnvMap = false;
#endif
+#elif defined(PS2_MATFX)
+ ReplaceMatFxCallback();
#endif
CFont::Initialise();