diff options
author | Sergeanur <s.anureev@yandex.ua> | 2020-04-11 17:37:20 +0200 |
---|---|---|
committer | Sergeanur <s.anureev@yandex.ua> | 2020-04-11 22:37:04 +0200 |
commit | daceee593be76fe7d681e3b8c9101b02c058d186 (patch) | |
tree | 13df853a3b0253ef804afc383de0e5e952074533 /src/rw/TexRead.cpp | |
parent | Merge branch 'master' of github.com:gtamodding/re3 (diff) | |
download | re3-daceee593be76fe7d681e3b8c9101b02c058d186.tar re3-daceee593be76fe7d681e3b8c9101b02c058d186.tar.gz re3-daceee593be76fe7d681e3b8c9101b02c058d186.tar.bz2 re3-daceee593be76fe7d681e3b8c9101b02c058d186.tar.lz re3-daceee593be76fe7d681e3b8c9101b02c058d186.tar.xz re3-daceee593be76fe7d681e3b8c9101b02c058d186.tar.zst re3-daceee593be76fe7d681e3b8c9101b02c058d186.zip |
Diffstat (limited to '')
-rw-r--r-- | src/rw/TexRead.cpp (renamed from src/core/RwTexRead.cpp) | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/core/RwTexRead.cpp b/src/rw/TexRead.cpp index 49b245dd..50b99d47 100644 --- a/src/core/RwTexRead.cpp +++ b/src/rw/TexRead.cpp @@ -147,7 +147,11 @@ RwTexDictionaryGtaStreamRead2(RwStream *stream, RwTexDictionary *texDict) } #ifdef GTA_PC +#ifdef RWLIBS +extern "C" RwInt32 _rwD3D8FindCorrectRasterFormat(RwRasterType type, RwInt32 flags); +#else WRAPPER RwInt32 _rwD3D8FindCorrectRasterFormat(RwRasterType type, RwInt32 flags) { EAXJMP(0x59A350); } +#endif void ReadVideoCardCapsFile(uint32 &cap32, uint32 &cap24, uint32 &cap16, uint32 &cap8) |