summaryrefslogtreecommitdiffstats
path: root/src/fakerw
diff options
context:
space:
mode:
authoraap <aap@papnet.eu>2020-11-16 09:48:38 +0100
committeraap <aap@papnet.eu>2020-11-16 09:48:38 +0100
commitacdf602505ee4c460cf162e314955ae0bf32d708 (patch)
tree938a29f1c9d14fe163d94caa9ff049f2a87ad3d9 /src/fakerw
parentlittle fix to ps2 CPad (diff)
downloadre3-acdf602505ee4c460cf162e314955ae0bf32d708.tar
re3-acdf602505ee4c460cf162e314955ae0bf32d708.tar.gz
re3-acdf602505ee4c460cf162e314955ae0bf32d708.tar.bz2
re3-acdf602505ee4c460cf162e314955ae0bf32d708.tar.lz
re3-acdf602505ee4c460cf162e314955ae0bf32d708.tar.xz
re3-acdf602505ee4c460cf162e314955ae0bf32d708.tar.zst
re3-acdf602505ee4c460cf162e314955ae0bf32d708.zip
Diffstat (limited to 'src/fakerw')
-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 f37e5813..5d53605d 100644
--- a/src/fakerw/fake.cpp
+++ b/src/fakerw/fake.cpp
@@ -943,7 +943,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;
}