summaryrefslogtreecommitdiffstats
path: root/src/rw/rw.cpp
diff options
context:
space:
mode:
authoraap <aap@papnet.eu>2020-04-16 10:26:16 +0200
committeraap <aap@papnet.eu>2020-04-16 10:26:16 +0200
commit4b602940eb79c637f70a22046d414a0b1358eea8 (patch)
tree4c8a7e8623be3c639f60d63c25a288c8d732506d /src/rw/rw.cpp
parentMerge branch 'master' of github.com:gtamodding/re3 (diff)
downloadre3-4b602940eb79c637f70a22046d414a0b1358eea8.tar
re3-4b602940eb79c637f70a22046d414a0b1358eea8.tar.gz
re3-4b602940eb79c637f70a22046d414a0b1358eea8.tar.bz2
re3-4b602940eb79c637f70a22046d414a0b1358eea8.tar.lz
re3-4b602940eb79c637f70a22046d414a0b1358eea8.tar.xz
re3-4b602940eb79c637f70a22046d414a0b1358eea8.tar.zst
re3-4b602940eb79c637f70a22046d414a0b1358eea8.zip
Diffstat (limited to '')
-rw-r--r--src/rw/rw.cpp5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/rw/rw.cpp b/src/rw/rw.cpp
index 196cf189..c525f49f 100644
--- a/src/rw/rw.cpp
+++ b/src/rw/rw.cpp
@@ -415,6 +415,9 @@ WRAPPER RxNodeDefinition* RxNodeDefinitionGetMaterialScatter() { EAXJMP(0x5DDAA0
WRAPPER RxNodeDefinition* RxNodeDefinitionGetLight() { EAXJMP(0x5DF040); }
WRAPPER RxNodeDefinition* RxNodeDefinitionGetPostLight() { EAXJMP(0x5DF560); }
WRAPPER void RxD3D8AllInOneSetRenderCallBack(RxPipelineNode* node, RxD3D8AllInOneRenderCallBack callback) { EAXJMP(0x5DFC60); }
+
+WRAPPER RwInt32 _rwD3D8FindCorrectRasterFormat(RwRasterType type, RwInt32 flags) { EAXJMP(0x59A350); }
+
#else
extern "C"
@@ -433,6 +436,8 @@ extern "C"
void* _rwVectorOpen(void* instance, RwInt32 offset, RwInt32 size);
RwBool _rwPluginRegistryOpen();
RwBool _rwPluginRegistryClose();
+
+ RwInt32 _rwD3D8FindCorrectRasterFormat(RwRasterType type, RwInt32 flags);
}
STARTPATCHES