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

sev- noreply at scummvm.org
Sat Jan 14 20:19:25 UTC 2023


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:
d5cf875640 AD: Added AD_ENTRY4s() macro


Commit: d5cf8756404a48afcbc4a1b6c29be2504860664d
    https://github.com/scummvm/scummvm/commit/d5cf8756404a48afcbc4a1b6c29be2504860664d
Author: Eugene Sandulenko (sev at scummvm.org)
Date: 2023-01-14T21:19:07+01:00

Commit Message:
AD: Added AD_ENTRY4s() macro

Changed paths:
    engines/advancedDetector.h
    engines/sword1/detection_tables.h


diff --git a/engines/advancedDetector.h b/engines/advancedDetector.h
index b41cc257ddd..1c0b7af8e50 100644
--- a/engines/advancedDetector.h
+++ b/engines/advancedDetector.h
@@ -83,6 +83,7 @@ struct ADGameFileDescription {
  * records that contain just a filename with an MD5, plus a file size.
  */
 #define AD_ENTRY3s(f1, x1, s1, f2, x2, s2, f3, x3, s3) {{f1, 0, x1, s1}, {f2, 0, x2, s2}, {f3, 0, x3, s3}, AD_LISTEND}
+#define AD_ENTRY4s(f1, x1, s1, f2, x2, s2, f3, x3, s3, f4, x4, s4) {{f1, 0, x1, s1}, {f2, 0, x2, s2}, {f3, 0, x3, s3}, {f4, 0, x4, s4}, AD_LISTEND}
 
 /**
  * Flags used in the game description.
diff --git a/engines/sword1/detection_tables.h b/engines/sword1/detection_tables.h
index ab053c5ad11..614042b7d98 100644
--- a/engines/sword1/detection_tables.h
+++ b/engines/sword1/detection_tables.h
@@ -22,9 +22,6 @@
 
 namespace Sword1 {
 
-#define AD_ENTRY4s(f1, x1, s1, f2, x2, s2, f3, x3, s3, f4, x4, s4) {{f1, 0, x1, s1}, {f2, 0, x2, s2}, {f3, 0, x3, s3}, {f4, 0, x4, s4}, AD_LISTEND}
-
-
 static const ADGameDescription gameDescriptions[] = {
 	{
 		"sword1",




More information about the Scummvm-git-logs mailing list