[Scummvm-git-logs] scummvm master -> 3694ca5db52faae45223fb68573dd0901353f8a9
digitall
noreply at scummvm.org
Wed Jan 14 03:44:11 UTC 2026
This automated email contains information about 1 new commit which have been
pushed to the 'scummvm' repo located at https://api.github.com/repos/scummvm/scummvm .
Summary:
3694ca5db5 TINSEL: Add Debug Output For Handle Memory Locking Code
Commit: 3694ca5db52faae45223fb68573dd0901353f8a9
https://github.com/scummvm/scummvm/commit/3694ca5db52faae45223fb68573dd0901353f8a9
Author: D G Turner (digitall at scummvm.org)
Date: 2026-01-14T03:41:51Z
Commit Message:
TINSEL: Add Debug Output For Handle Memory Locking Code
This is to help investigate bug #16448 ("TINSEL: Discworld Act III:
Crash when climbing back over the edge")
Changed paths:
engines/tinsel/handle.cpp
diff --git a/engines/tinsel/handle.cpp b/engines/tinsel/handle.cpp
index b729b262487..aeaf5f97418 100644
--- a/engines/tinsel/handle.cpp
+++ b/engines/tinsel/handle.cpp
@@ -480,7 +480,7 @@ const PROCESS_STRUC *Handle::GetProcessData(SCNHANDLE offset, uint32 count) {
*/
byte *Handle::LockMem(SCNHANDLE offset) {
uint32 handle = offset >> SCNHANDLE_SHIFT; // calc memory handle to use
- //debug("Locking offset of type %d (%x), offset %d, handle %d", (offset & HANDLEMASK) >> SCNHANDLE_SHIFT, (offset & HANDLEMASK) >> SCNHANDLE_SHIFT, offset & OFFSETMASK, handle);
+ debug(8, "Locking offset of type %ld (%lx), offset %ld, handle %d", (offset & HANDLEMASK) >> SCNHANDLE_SHIFT, (offset & HANDLEMASK) >> SCNHANDLE_SHIFT, offset & OFFSETMASK, handle);
MEMHANDLE *pH; // points to table entry
// range check the memory handle
More information about the Scummvm-git-logs
mailing list