[Scummvm-git-logs] scummvm master -> 5e374f237006e992deb2a29cf15df141fc2ab4d6
neuromancer
noreply at scummvm.org
Mon Nov 17 20:13:33 UTC 2025
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:
5e374f2370 PRIVATE: detection and support for promotional demo disc
Commit: 5e374f237006e992deb2a29cf15df141fc2ab4d6
https://github.com/scummvm/scummvm/commit/5e374f237006e992deb2a29cf15df141fc2ab4d6
Author: neuromancer (gustavo.grieco at gmail.com)
Date: 2025-11-17T20:30:34+01:00
Commit Message:
PRIVATE: detection and support for promotional demo disc
Changed paths:
engines/private/detection.cpp
engines/private/funcs.cpp
diff --git a/engines/private/detection.cpp b/engines/private/detection.cpp
index e15a6b6a057..ef504bacc9e 100644
--- a/engines/private/detection.cpp
+++ b/engines/private/detection.cpp
@@ -140,6 +140,16 @@ static const ADGameDescription gameDescriptions[] = {
ADGF_NO_FLAGS,
GUIO2(GUIO_NOMIDI, GAMEOPTION_HIGHLIGHT_MASKS)
},
+ {
+ "private-eye", // Promotional demo disc
+ "Demo",
+ AD_ENTRY2s("pvteye.z", "adb2ceca453da546d5e86baad0c73cd1", 262537,
+ "bklynlgo.bmp", "1dfb703349a46f8ec183de107992b7f5", 33118),
+ Common::EN_USA,
+ Common::kPlatformWindows,
+ ADGF_DEMO,
+ GUIO2(GUIO_NOMIDI, GAMEOPTION_HIGHLIGHT_MASKS)
+ },
{
"private-eye", // Demo from the EU release (DE)
"Demo",
diff --git a/engines/private/funcs.cpp b/engines/private/funcs.cpp
index ce59bcfd73d..e34e4fea195 100644
--- a/engines/private/funcs.cpp
+++ b/engines/private/funcs.cpp
@@ -374,7 +374,14 @@ static void fInventory(ArgArray args) {
Datum e = args[3];
Datum i = args[4];
Datum c = args[5];
- Datum snd = args[8];
+
+ Datum snd;
+ if (args.size() >= 9)
+ snd = args[8];
+ else {
+ snd.type = STRING;
+ snd.u.str = "\"\"";
+ }
assert(v1.type == STRING || v1.type == NAME);
assert(b1.type == STRING);
More information about the Scummvm-git-logs
mailing list