diff options
Diffstat (limited to 'engines/cge/detection.cpp')
-rw-r--r-- | engines/cge/detection.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/engines/cge/detection.cpp b/engines/cge/detection.cpp index ee67fb839b..da5eb2b1f2 100644 --- a/engines/cge/detection.cpp +++ b/engines/cge/detection.cpp @@ -157,7 +157,7 @@ const ADGameDescription *CGEMetaEngine::fallbackDetect(const FileMap &allFiles, game = detectGameFilebased(allFiles, fslist, CGE::fileBasedFallback, &filesProps); if (!game) - return 0; + return nullptr; SearchMan.clear(); SearchMan.addDirectory(fslist.begin()->getParent().getPath(), fslist.begin()->getParent()); @@ -167,7 +167,7 @@ const ADGameDescription *CGEMetaEngine::fallbackDetect(const FileMap &allFiles, delete resman; if (!result) - return 0; + return nullptr; reportUnknown(fslist.begin()->getParent(), filesProps); return &s_fallbackDesc; |