[Scummvm-git-logs] scummvm master -> 9becaeb126a1661a3492744d93e61db5eb5bae3a

sev- noreply at scummvm.org
Tue Oct 27 10:23:38 UTC 2026


This automated email contains information about 1 new commit which have been
pushed to the 'scummvm' repo located at https://api.github.com/repos/scummvm/scummvm .

Summary:
9becaeb126 HAROLD: Fix compilation with BCB subengine not enabled


Commit: 9becaeb126a1661a3492744d93e61db5eb5bae3a
    https://github.com/scummvm/scummvm/commit/9becaeb126a1661a3492744d93e61db5eb5bae3a
Author: Eugene Sandulenko (sev at scummvm.org)
Date: 2026-10-27T11:23:11+01:00

Commit Message:
HAROLD: Fix compilation with BCB subengine not enabled

Changed paths:
    engines/harold/metaengine.cpp
    engines/harold/module.mk


diff --git a/engines/harold/metaengine.cpp b/engines/harold/metaengine.cpp
index eecf771f179..1c82ff590db 100644
--- a/engines/harold/metaengine.cpp
+++ b/engines/harold/metaengine.cpp
@@ -100,9 +100,11 @@ Common::KeymapArray HaroldMetaEngine::initKeymaps(const char *target) const {
 
 Common::Error HaroldMetaEngine::createInstance(OSystem *syst, Engine **engine, const BCB::HaroldGameDescription *gd) const {
 	switch (gd->gameType) {
+#ifdef ENABLE_BCB
 	case BCB::kHaroldGameBCB:
 		*engine = new BCB::BCBEngine(syst, gd);
 		return Common::kNoError;
+#endif
 	default:
 		return Common::kUnsupportedGameidError;
 	}
diff --git a/engines/harold/module.mk b/engines/harold/module.mk
index 291366b581d..490fc1a6c38 100644
--- a/engines/harold/module.mk
+++ b/engines/harold/module.mk
@@ -1,6 +1,10 @@
 MODULE := engines/harold
 
 MODULE_OBJS := \
+	metaengine.o
+
+ifdef ENABLE_BCB
+MODULE_OBJS += \
 	bcb/bcb.o \
 	bcb/captions.o \
 	bcb/computer.o \
@@ -14,8 +18,8 @@ MODULE_OBJS := \
 	bcb/screens.o \
 	bcb/script.o \
 	bcb/static_data.o \
-	bcb/video.o \
-	metaengine.o
+	bcb/video.o
+endif
 
 MODULE_DIRS += \
 	engines/harold \




More information about the Scummvm-git-logs mailing list