[Scummvm-tracker] [ScummVM :: Bugs] #14356: Splash screen is no longer shown correctly on big endian machines
ScummVM :: Bugs
trac at scummvm.org
Wed Mar 22 20:13:22 UTC 2023
#14356: Splash screen is no longer shown correctly on big endian machines
--------------------+----------------------
Reporter: mikrosk | Owner: (none)
Type: defect | Status: new
Priority: normal | Component: Graphics
Version: | Keywords:
Game: |
--------------------+----------------------
Found this by accident. When I add this code:
Common::OutSaveFile out =
g_system->getSavefileManager()->openForSaving("aaa.bmp", false);
Image::writeBMP(out, *bitmap.getSurface(), bitmap.getPalette());
into splashScreen() in engine.cpp, scummvm-2.6.1 stores a nice scummvm
logo (I had to patch it with ce9d324a as it was crashing here as well).
However when I paste the code above into latest master, on a little endian
machine it is stored properly while on big endian it looks like attached.
--
Ticket URL: <https://bugs.scummvm.org/ticket/14356>
ScummVM :: Bugs <https://bugs.scummvm.org>
ScummVM
More information about the Scummvm-tracker
mailing list