[Scummvm-git-logs] scummvm master -> 05f236adb144bf039324c6c86bd6ea8298fd98af

digitall noreply at scummvm.org
Mon Sep 7 21:22:36 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:
05f236adb1 GLK: LEVEL9: Fix Bug in Detection Causing False Positives


Commit: 05f236adb144bf039324c6c86bd6ea8298fd98af
    https://github.com/scummvm/scummvm/commit/05f236adb144bf039324c6c86bd6ea8298fd98af
Author: D G Turner (digitall at scummvm.org)
Date: 2026-09-07T22:21:40+01:00

Commit Message:
GLK: LEVEL9: Fix Bug in Detection Causing False Positives

Changed paths:
    engines/glk/level9/detection.cpp


diff --git a/engines/glk/level9/detection.cpp b/engines/glk/level9/detection.cpp
index 884c4d9f937..dbf0e90966f 100644
--- a/engines/glk/level9/detection.cpp
+++ b/engines/glk/level9/detection.cpp
@@ -800,7 +800,7 @@ bool Level9MetaEngine::detectGames(const Common::FSList &fslist, DetectedGames &
 		// Check if it's a valid Level 9 game
 		byte *startFile = &data[0];
 		Scanner scanner;
-		int offset = scanner.scanner(&data[0], fileSize) < 0;
+		int offset = scanner.scanner(&data[0], fileSize);
 		if (offset < 0)
 			continue;
 




More information about the Scummvm-git-logs mailing list