diff options
author | Cameron Cawley | 2019-09-11 17:47:44 +0100 |
---|---|---|
committer | Peter Kohaut | 2019-09-11 18:47:44 +0200 |
commit | 5413e89a6b6dd419fdfe3993dac203c8b3425b13 (patch) | |
tree | 2296728998a2446e48db39e627216508e0b4158f /engines/bladerunner | |
parent | 1ed2cd40f3213720cd33d96fca9f6516b5589189 (diff) | |
download | scummvm-rg350-5413e89a6b6dd419fdfe3993dac203c8b3425b13.tar.gz scummvm-rg350-5413e89a6b6dd419fdfe3993dac203c8b3425b13.tar.bz2 scummvm-rg350-5413e89a6b6dd419fdfe3993dac203c8b3425b13.zip |
BLADERUNNER: Ensure the Color256 struct is correctly packed (#1838)
Diffstat (limited to 'engines/bladerunner')
-rw-r--r-- | engines/bladerunner/color.h | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/engines/bladerunner/color.h b/engines/bladerunner/color.h index beec53760b..8123f775d1 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 |