[Scummvm-tracker] [ScummVM :: Bugs] #11710: Blazing Dragons (GB/FR): Messed up colours with Big Endian
ScummVM :: Bugs
trac at scummvm.org
Sun Sep 27 20:35:36 UTC 2020
#11710: Blazing Dragons (GB/FR): Messed up colours with Big Endian
------------------------------+-----------------------------
Reporter: raziel- | Owner: (none)
Type: defect | Status: new
Priority: normal | Component: Engine: Dragons
Resolution: | Keywords:
Game: Blazing Dragons |
------------------------------+-----------------------------
Comment (by dwatteau):
Hi,
I have a triple PPC boot (Mac OS Leopard, Debian unstable, OpenBSD) on a
PowerMac G4 here, so I tried having a look at this.
The attached diff (dragons_big_endian_hack.diff) "fixes" the backgrounds,
the characters, the bag, and the menus. Text is readable, but incomplete;
I couldn't get alpha blending to display like it should (I'm quite lost in
screen.cpp), so for the moment I just disabled it.
It's a crude and incomplete hack, it's been done through trial and error,
and it may be completely inefficient (CPU usage seems high?). I'm rather
submitting it so that you get what's missing in the code, and then someone
might come up with a real and more elegant solution.
My understanding is that the palette is almost never switched back to
native big-endian, before displaying the surfaces on big-endian systems.
Feel free to ping me if you want me to test some other patches, or run
some gdb commands.
--
Ticket URL: <https://bugs.scummvm.org/ticket/11710#comment:3>
ScummVM :: Bugs <https://bugs.scummvm.org>
ScummVM
More information about the Scummvm-tracker
mailing list