[Scummvm-tracker] [ScummVM :: Bugs] #14644: SCUMM: The Dig startup calls Scumm::ScummEngine::remapPaletteColor too often
ScummVM :: Bugs
trac at scummvm.org
Sun Sep 24 21:14:59 UTC 2023
#14644: SCUMM: The Dig startup calls Scumm::ScummEngine::remapPaletteColor too
often
------------------------+----------------------------
Reporter: mikrosk | Owner: (none)
Type: defect | Status: new
Priority: normal | Component: Engine: SCUMM
Version: | Resolution:
Keywords: performance | Game: The Dig
------------------------+----------------------------
Comment (by mikrosk):
Thanks for looking into this!
I have rechecked the runtime / profiler and I was a "bit" off -- the
remapPaletteColor() is called 1024 times per room (the first room being
the intro's first ~30s). When I let the game run from the beginning for
about 3.5 minutes, 8 rooms were switched, resulting in 8192 calls of this
function.
I can't say whether it's expected or not, if you think it's OK, feel free
to close this issue. I was just afraid whether there isn't some
unnecessary mapping done over and over again.
--
Ticket URL: <https://bugs.scummvm.org/ticket/14644#comment:2>
ScummVM :: Bugs <https://bugs.scummvm.org>
ScummVM
More information about the Scummvm-tracker
mailing list