GLK: Fix GCC Compiler Warnings in Detection Code

This commit is contained in:
D G Turner 2022-06-24 19:15:15 +01:00
parent dcd104e810
commit 34eb62b46a
2 changed files with 2 additions and 2 deletions

View File

@ -90,7 +90,7 @@ GlkDetectedGame::GlkDetectedGame(const char *id, const char *desc, const Common:
}
GlkDetectedGame::GlkDetectedGame(const char *id, const char *desc, const Common::String &filename,
Common::Language lang, Common::Platform platform, GameSupportLevel supportLevel) : DetectedGame("glk", id, desc, lang, platform) {
Common::Language lang, Common::Platform p, GameSupportLevel supportLevel) : DetectedGame("glk", id, desc, lang, p) {
setGUIOptions(getGlkGUIOptions());
gameSupportLevel = supportLevel;
addExtraEntry("filename", filename);

View File

@ -142,7 +142,7 @@ struct GlkDetectionEntry {
#define DT_ENTRYLP0(ID, LANG, MD5, FILESIZE, PLATFORM) { ID, "", MD5, FILESIZE, LANG, PLATFORM}
#define DT_ENTRYLP1(ID, LANG, EXTRA, MD5, FILESIZE, PLATFORM) { ID, EXTRA, MD5, FILESIZE, LANG, PLATFORM }
#define DT_END_MARKER { nullptr, nullptr, nullptr, 0, Common::EN_ANY }
#define DT_END_MARKER { nullptr, nullptr, nullptr, 0, Common::EN_ANY, Common::kPlatformUnknown }
} // End of namespace Glk