[Scummvm-tracker] [ScummVM :: Bugs] #15597: SCUMM: DIG: Space bar glitch with vertical scrolling in Macintosh Demo
ScummVM :: Bugs
trac at scummvm.org
Fri May 23 19:52:43 UTC 2025
#15597: SCUMM: DIG: Space bar glitch with vertical scrolling in Macintosh Demo
---------------------+----------------------------
Reporter: dwatteau | Owner: (none)
Type: defect | Status: new
Priority: normal | Component: Engine: SCUMM
Version: | Resolution:
Keywords: | Game: The Dig
---------------------+----------------------------
Comment (by eriktorbjorn):
Something like this seems to fix the problem:
{{{
diff --git a/engines/scumm/gfx.cpp b/engines/scumm/gfx.cpp
index 44dcdf22f9b..fb78f408fea 100644
--- a/engines/scumm/gfx.cpp
+++ b/engines/scumm/gfx.cpp
@@ -1635,7 +1635,7 @@ void ScummEngine::drawBox(int x, int y, int x2, int
y2, int color) {
void ScummEngine::drawLine(int x1, int y1, int x2, int y2, int color) {
if ((_game.platform == Common::kPlatformFMTowns && _game.version
== 5) ||
(_game.platform == Common::kPlatformMacintosh &&
_game.version > 3)) {
- drawBox(x1, y1, x2, y2, color);
+ drawBox(x1, _screenTop + y1, x2, _screenTop + y2, color);
return;
}
}}}
But I'm very fuzzy on the details on how this actually works...
--
Ticket URL: <https://bugs.scummvm.org/ticket/15597#comment:1>
ScummVM :: Bugs <https://bugs.scummvm.org>
ScummVM
More information about the Scummvm-tracker
mailing list