From 2fe6e9939480949ca80ced0443838e7efaf2ba74 Mon Sep 17 00:00:00 2001 From: patrickvl Date: Wed, 4 Apr 2018 16:11:18 +0200 Subject: [PATCH] D3D : Fixed cartoon sample, by only applying texture expansion (of height/width to 4 instead of 1) for compressed formats. --- src/CxbxKrnl/EmuD3D8.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/src/CxbxKrnl/EmuD3D8.cpp b/src/CxbxKrnl/EmuD3D8.cpp index fafc20637..a8762a9a8 100755 --- a/src/CxbxKrnl/EmuD3D8.cpp +++ b/src/CxbxKrnl/EmuD3D8.cpp @@ -4272,6 +4272,7 @@ VOID WINAPI CreateHostResource // Let's try using some 16-bit format instead... if (X_Format == X_D3DFMT_X1R5G5B5) { + // Test case : JSRF (after loading) CacheFormat = PCFormat; // Save this for later PCFormat = D3DFMT_A8R8G8B8; // ARGB }