diff options
-rw-r--r-- | base/plugins.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/base/plugins.h b/base/plugins.h index 2d778e2a51..179f2cf991 100644 --- a/base/plugins.h +++ b/base/plugins.h @@ -47,6 +47,10 @@ struct DetectedGame { Common::Language language; Common::Platform platform; DetectedGame() : language(Common::UNK_LANG), platform(Common::kPlatformUnknown) {} + DetectedGame(const char *g, const char *d, + Common::Language l = Common::UNK_LANG, + Common::Platform p = Common::kPlatformUnknown) + : gameid(g), description(d), language(l), platform(p) {} DetectedGame(const GameSettings &game, Common::Language l = Common::UNK_LANG, Common::Platform p = Common::kPlatformUnknown) |