From bda0eb4c8872bcf53ff6eee233e0c7bfb53dbc95 Mon Sep 17 00:00:00 2001 From: Joseph-Eugene Winzer Date: Wed, 14 Mar 2018 01:31:28 +0100 Subject: SUPERNOVA: Adds English msn2 to detection --- engines/supernova/detection.cpp | 9 +++++++++ 1 file changed, 9 insertions(+) (limited to 'engines/supernova/detection.cpp') diff --git a/engines/supernova/detection.cpp b/engines/supernova/detection.cpp index 7fd2da1760..a26274c3bf 100644 --- a/engines/supernova/detection.cpp +++ b/engines/supernova/detection.cpp @@ -67,6 +67,15 @@ static const ADGameDescription gameDescriptions[] = { ADGF_UNSTABLE, GUIO1(GUIO_NONE) }, + { + "msn2", + NULL, + AD_ENTRY1s("ms2_data.000", "e595610cba4a6d24a763e428d05cc83f", 24805), + Common::EN_ANY, + Common::kPlatformDOS, + ADGF_UNSTABLE, + GUIO1(GUIO_NONE) + }, AD_TABLE_END_MARKER }; -- cgit v1.2.3 From 6187e251994270400b9e3b509871a9ab177bbc73 Mon Sep 17 00:00:00 2001 From: Joseph-Eugene Winzer Date: Fri, 23 Mar 2018 02:22:10 +0100 Subject: SUPERNOVA: Renames NULL to nullptr --- engines/supernova/detection.cpp | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) (limited to 'engines/supernova/detection.cpp') diff --git a/engines/supernova/detection.cpp b/engines/supernova/detection.cpp index a26274c3bf..b172b7fa49 100644 --- a/engines/supernova/detection.cpp +++ b/engines/supernova/detection.cpp @@ -32,7 +32,7 @@ static const PlainGameDescriptor supernovaGames[] = { {"msn1", "Mission Supernova 1"}, {"msn2", "Mission Supernova 2"}, - {NULL, NULL} + {nullptr, nullptr} }; namespace Supernova { @@ -40,7 +40,7 @@ static const ADGameDescription gameDescriptions[] = { // Mission Supernova 1 { "msn1", - NULL, + nullptr, AD_ENTRY1s("msn_data.000", "f64f16782a86211efa919fbae41e7568", 24163), Common::DE_DEU, Common::kPlatformDOS, @@ -49,7 +49,7 @@ static const ADGameDescription gameDescriptions[] = { }, { "msn1", - NULL, + nullptr, AD_ENTRY1s("msn_data.000", "f64f16782a86211efa919fbae41e7568", 24163), Common::EN_ANY, Common::kPlatformDOS, @@ -60,7 +60,7 @@ static const ADGameDescription gameDescriptions[] = { // Mission Supernova 2 { "msn2", - NULL, + nullptr, AD_ENTRY1s("ms2_data.000", "e595610cba4a6d24a763e428d05cc83f", 24805), Common::DE_DEU, Common::kPlatformDOS, @@ -69,7 +69,7 @@ static const ADGameDescription gameDescriptions[] = { }, { "msn2", - NULL, + nullptr, AD_ENTRY1s("ms2_data.000", "e595610cba4a6d24a763e428d05cc83f", 24805), Common::EN_ANY, Common::kPlatformDOS, @@ -131,7 +131,7 @@ bool SupernovaMetaEngine::createInstance(OSystem *syst, Engine **engine, const A *engine = new Supernova::SupernovaEngine(syst); } - return desc != NULL; + return desc != nullptr; } SaveStateList SupernovaMetaEngine::listSaves(const char *target) const { -- cgit v1.2.3