[Scummvm-git-logs] scummvm master -> b0e5ca855d8e3c3b078d17819b8092413f3a67f9

phcoder phcoder at gmail.com
Mon Nov 16 13:00:51 UTC 2020


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:
b0e5ca855d BBVS: Fix misdetection of Russian version as demo (#2625)


Commit: b0e5ca855d8e3c3b078d17819b8092413f3a67f9
    https://github.com/scummvm/scummvm/commit/b0e5ca855d8e3c3b078d17819b8092413f3a67f9
Author: Vladimir Serbinenko (phcoder at google.com)
Date: 2020-11-16T14:00:46+01:00

Commit Message:
BBVS: Fix misdetection of Russian version as demo (#2625)

GF_GUILANGSWITCH and GF_LOOGIE_DEMO have the same value and hence the code
treats Russian version as loogie demo and crashes as bbloogie.000 is in
an unexpected directory for the demo

Changed paths:
    engines/bbvs/detection.h


diff --git a/engines/bbvs/detection.h b/engines/bbvs/detection.h
index c798c0222d..793b465398 100644
--- a/engines/bbvs/detection.h
+++ b/engines/bbvs/detection.h
@@ -25,14 +25,11 @@
 
 namespace Bbvs {
 
-enum {
-	GF_GUILANGSWITCH =    (1 << 0) // If GUI language switch is required for menus
+enum BBVSGameFeatures {
+	GF_GUILANGSWITCH =    (1 << 0), // If GUI language switch is required for menus
+	GF_LOOGIE_DEMO   =    (1 << 1)
 };
 
 } // End of namespace Bbvs
 
-enum BBVSGameFeatures {
-	GF_LOOGIE_DEMO = (1 << 0)
-};
-
 #endif // BBVS_DETECTION_H




More information about the Scummvm-git-logs mailing list