[Scummvm-git-logs] scummvm master -> a6256a1ea5f0fd4b46f2e5773607c995acf01ad2

aquadran noreply at scummvm.org
Sun Nov 10 08:31:01 UTC 2024


This automated email contains information about 1 new commit which have been
pushed to the 'scummvm' repo located at https://github.com/scummvm/scummvm .

Summary:
a6256a1ea5 MYST3: Fixes bug 11895 and 14505.


Commit: a6256a1ea5f0fd4b46f2e5773607c995acf01ad2
    https://github.com/scummvm/scummvm/commit/a6256a1ea5f0fd4b46f2e5773607c995acf01ad2
Author: Paweł Kołodziejski (aquadran at gmail.com)
Date: 2024-11-10T09:30:55+01:00

Commit Message:
MYST3: Fixes bug 11895 and 14505.

Changed pixel format to match proper result, however I think something
is off possible due double texture conversion.
This needs to be revisited later.

Changed paths:
    engines/myst3/myst3.cpp


diff --git a/engines/myst3/myst3.cpp b/engines/myst3/myst3.cpp
index 0bec85d8a2d..4e269dbe3bc 100644
--- a/engines/myst3/myst3.cpp
+++ b/engines/myst3/myst3.cpp
@@ -1375,7 +1375,7 @@ Graphics::Surface *Myst3Engine::loadTexture(uint16 id) {
 	data->readUint32LE(); // unk 3
 
 #ifdef SCUMM_BIG_ENDIAN
-	Graphics::PixelFormat onDiskFormat = Graphics::PixelFormat(4, 8, 8, 8, 8, 0, 24, 16, 8);
+	Graphics::PixelFormat onDiskFormat = Graphics::PixelFormat(4, 8, 8, 8, 8, 16, 8, 0, 24);
 #else
 	Graphics::PixelFormat onDiskFormat = Graphics::PixelFormat(4, 8, 8, 8, 8, 8, 16, 24, 0);
 #endif




More information about the Scummvm-git-logs mailing list