diff options
author | Sergeanur <s.anureev@yandex.ua> | 2020-04-11 22:47:45 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-04-11 22:47:45 +0200 |
commit | 766a881a7e69836c865c98f137ccfae8b10a5276 (patch) | |
tree | 13df853a3b0253ef804afc383de0e5e952074533 /src/rw/TexRead.cpp | |
parent | Merge branch 'master' of github.com:gtamodding/re3 (diff) | |
parent | Link with RW libs (diff) | |
download | re3-766a881a7e69836c865c98f137ccfae8b10a5276.tar re3-766a881a7e69836c865c98f137ccfae8b10a5276.tar.gz re3-766a881a7e69836c865c98f137ccfae8b10a5276.tar.bz2 re3-766a881a7e69836c865c98f137ccfae8b10a5276.tar.lz re3-766a881a7e69836c865c98f137ccfae8b10a5276.tar.xz re3-766a881a7e69836c865c98f137ccfae8b10a5276.tar.zst re3-766a881a7e69836c865c98f137ccfae8b10a5276.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) |