[Scummvm-git-logs] scummvm master -> 5413e89a6b6dd419fdfe3993dac203c8b3425b13
peterkohaut
peterkohaut at users.noreply.github.com
Wed Sep 11 18:47:47 CEST 2019
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:
5413e89a6b BLADERUNNER: Ensure the Color256 struct is correctly packed (#1838)
Commit: 5413e89a6b6dd419fdfe3993dac203c8b3425b13
https://github.com/scummvm/scummvm/commit/5413e89a6b6dd419fdfe3993dac203c8b3425b13
Author: Cameron Cawley (ccawley2011 at gmail.com)
Date: 2019-09-11T18:47:44+02:00
Commit Message:
BLADERUNNER: Ensure the Color256 struct is correctly packed (#1838)
Changed paths:
engines/bladerunner/color.h
diff --git a/engines/bladerunner/color.h b/engines/bladerunner/color.h
index beec537..8123f77 100644
--- a/engines/bladerunner/color.h
+++ b/engines/bladerunner/color.h
@@ -37,11 +37,15 @@ struct Color {
Color(float r_, float g_, float b_) : r(r_), g(g_), b(b_) {}
};
+#include "common/pack-start.h"
+
struct Color256 {
uint8 r;
uint8 g;
uint8 b;
-};
+} PACKED_STRUCT;
+
+#include "common/pack-end.h"
} // End of namespace BladeRunner
More information about the Scummvm-git-logs
mailing list