[Scummvm-git-logs] scummvm master -> 65b4504d795146a87302bd658acab5c00770b2b4

antoniou79 noreply at scummvm.org
Fri Apr 15 13:26:52 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:
65b4504d79 GRIM: EMI: Add check for EMI game to load patch filename


Commit: 65b4504d795146a87302bd658acab5c00770b2b4
    https://github.com/scummvm/scummvm/commit/65b4504d795146a87302bd658acab5c00770b2b4
Author: antoniou79 (a.antoniou79 at gmail.com)
Date: 2022-04-15T16:21:59+03:00

Commit Message:
GRIM: EMI: Add check for EMI game to load patch filename

Changed paths:
    engines/grim/resource.cpp


diff --git a/engines/grim/resource.cpp b/engines/grim/resource.cpp
index 980d93b5d65..a126ac1b572 100644
--- a/engines/grim/resource.cpp
+++ b/engines/grim/resource.cpp
@@ -80,7 +80,8 @@ ResourceLoader::ResourceLoader() {
 
 	//Load the update from the executable, if needed
 	const char *updateFilename = nullptr;
-	if (g_grim->getGameType() == GType_GRIM && !g_grim->isRemastered()) {
+	if ((g_grim->getGameType() == GType_GRIM && !g_grim->isRemastered())
+	    || g_grim->getGameType() == GType_MONKEY4) {
 		updateFilename = g_grim->getUpdateFilename();
 	}
 	if (updateFilename) {




More information about the Scummvm-git-logs mailing list