summaryrefslogtreecommitdiffstats
path: root/src/fakerw/fake.cpp
diff options
context:
space:
mode:
authoraap <aap@papnet.eu>2020-11-16 09:41:39 +0100
committeraap <aap@papnet.eu>2020-11-16 09:41:39 +0100
commit2f9a905c613aacf12a3bc059eb1c8876d8c3bc86 (patch)
tree5d43c7be348caac5d628bf0000474200272e0cc6 /src/fakerw/fake.cpp
parentMerge pull request #803 from withmorten/master (diff)
downloadre3-2f9a905c613aacf12a3bc059eb1c8876d8c3bc86.tar
re3-2f9a905c613aacf12a3bc059eb1c8876d8c3bc86.tar.gz
re3-2f9a905c613aacf12a3bc059eb1c8876d8c3bc86.tar.bz2
re3-2f9a905c613aacf12a3bc059eb1c8876d8c3bc86.tar.lz
re3-2f9a905c613aacf12a3bc059eb1c8876d8c3bc86.tar.xz
re3-2f9a905c613aacf12a3bc059eb1c8876d8c3bc86.tar.zst
re3-2f9a905c613aacf12a3bc059eb1c8876d8c3bc86.zip
Diffstat (limited to '')
-rw-r--r--src/fakerw/fake.cpp4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/fakerw/fake.cpp b/src/fakerw/fake.cpp
index 64e59375..460b8211 100644
--- a/src/fakerw/fake.cpp
+++ b/src/fakerw/fake.cpp
@@ -942,7 +942,9 @@ RwBool RtCharsetDestroy(RtCharset * charSet) { charSet->destroy(); return
RwInt32 _rwD3D8FindCorrectRasterFormat(RwRasterType type, RwInt32 flags)
{
#ifdef RW_GL3
- return '3LGO';
+ if(flags & (rwRASTERFORMATPAL8 | rwRASTERFORMAT8888))
+ return 'NOPE';
+ return 'YUP';
#endif
return flags & 0xF00;
}