[Scummvm-git-logs] scummvm master -> f9dc368e42b8ae0afda790c2ae8420b7bd9224af
bluegr
noreply at scummvm.org
Fri Aug 19 21:07:48 UTC 2022
This automated email contains information about 1 new commit which have been
pushed to the 'scummvm' repo located at https://github.com/scummvm/scummvm .
Summary:
f9dc368e42 SWORD2: Add platform information to detection entries
Commit: f9dc368e42b8ae0afda790c2ae8420b7bd9224af
https://github.com/scummvm/scummvm/commit/f9dc368e42b8ae0afda790c2ae8420b7bd9224af
Author: Orgad Shaneh (orgads at gmail.com)
Date: 2022-08-20T00:07:44+03:00
Commit Message:
SWORD2: Add platform information to detection entries
Changed paths:
engines/sword2/detection_internal.h
diff --git a/engines/sword2/detection_internal.h b/engines/sword2/detection_internal.h
index 3a35a59085b..4dd98e74f14 100644
--- a/engines/sword2/detection_internal.h
+++ b/engines/sword2/detection_internal.h
@@ -39,16 +39,17 @@ struct GameSettings {
const char *description;
uint32 features;
const char *detectname;
+ Common::Platform platform;
};
static const GameSettings sword2_settings[] = {
/* Broken Sword II */
- {"sword2", "Broken Sword II: The Smoking Mirror", 0, "players.clu" },
- {"sword2alt", "Broken Sword II: The Smoking Mirror (alt)", 0, "r2ctlns.ocx" },
- {"sword2psx", "Broken Sword II: The Smoking Mirror (PlayStation)", 0, "screens.clu"},
- {"sword2psxdemo", "Broken Sword II: The Smoking Mirror (PlayStation/Demo)", Sword2::GF_DEMO, "screens.clu"},
- {"sword2demo", "Broken Sword II: The Smoking Mirror (Demo)", Sword2::GF_DEMO, "players.clu" },
- {"sword2demo-es", "Broken Sword II: The Smoking Mirror (Spanish/Demo)", Sword2::GF_DEMO | Sword2::GF_SPANISHDEMO, "vielogo.tga" },
+ {"sword2", "Broken Sword II: The Smoking Mirror", 0, "players.clu", Common::kPlatformWindows },
+ {"sword2alt", "Broken Sword II: The Smoking Mirror (alt)", 0, "r2ctlns.ocx", Common::kPlatformWindows },
+ {"sword2psx", "Broken Sword II: The Smoking Mirror (PlayStation)", 0, "screens.clu", Common::kPlatformPSX },
+ {"sword2psxdemo", "Broken Sword II: The Smoking Mirror (PlayStation/Demo)", Sword2::GF_DEMO, "screens.clu", Common::kPlatformPSX },
+ {"sword2demo", "Broken Sword II: The Smoking Mirror (Demo)", Sword2::GF_DEMO, "players.clu", Common::kPlatformWindows },
+ {"sword2demo-es", "Broken Sword II: The Smoking Mirror (Spanish/Demo)", Sword2::GF_DEMO | Sword2::GF_SPANISHDEMO, "vielogo.tga", Common::kPlatformWindows },
{NULL, NULL, 0, NULL}
};
@@ -87,7 +88,8 @@ static DetectedGames detectGamesImpl(const Common::FSList &fslist, bool recursio
continue;
// Match found, add to list of candidates, then abort inner loop.
- DetectedGame game = DetectedGame("sword2", g->gameid, g->description);
+ DetectedGame game = DetectedGame("sword2", g->gameid, g->description,
+ Common::UNK_LANG, g->platform);
game.setGUIOptions(GUIO2(GUIO_NOMIDI, GUIO_NOASPECT));
detectedGames.push_back(game);
More information about the Scummvm-git-logs
mailing list