diff --git a/Cxbx.opt b/Cxbx.opt index b691e09a7..445ac9aa2 100644 Binary files a/Cxbx.opt and b/Cxbx.opt differ diff --git a/Include/Cxbx.h b/Include/Cxbx.h index dfc4ae036..438545143 100644 --- a/Include/Cxbx.h +++ b/Include/Cxbx.h @@ -63,10 +63,10 @@ typedef signed long sint32; //#define _DEBUG_ALLOC // define this to trace intercepted function calls -#define _DEBUG_TRACE +//#define _DEBUG_TRACE // define this to trace warnings -#define _DEBUG_WARNINGS +//#define _DEBUG_WARNINGS // version information #ifndef _DEBUG_TRACE diff --git a/Source/Win32/CxbxKrnl/EmuD3D8.cpp b/Source/Win32/CxbxKrnl/EmuD3D8.cpp index 1a368a3e0..b06387c87 100644 --- a/Source/Win32/CxbxKrnl/EmuD3D8.cpp +++ b/Source/Win32/CxbxKrnl/EmuD3D8.cpp @@ -3735,6 +3735,8 @@ HRESULT WINAPI XTL::EmuIDirect3DResource8_Register if(X_Format == 0x0C) // D3DFMT_DXT1 : 64bits per block/per 16 texels dwCompressedSize /= 2; + + dwBPP = 1; } else {