launcher: pack plugin config structs to ensure matching alignments

This commit is contained in:
somewhatlurker
2019-08-30 00:16:35 +10:00
parent ef49abfc65
commit f5989b74ac
2 changed files with 4 additions and 0 deletions
@@ -46,6 +46,7 @@ public:
namespace PluginConfig
{
#pragma pack(push, 1)
enum ConfigType {
CONFIG_BOOLEAN,
CONFIG_NUMERIC,
@@ -151,4 +152,5 @@ namespace PluginConfig
int len;
PluginConfigOption* options;
};
#pragma pack(pop)
}
@@ -46,6 +46,7 @@ public:
namespace PluginConfig
{
#pragma pack(push, 1)
enum ConfigType {
CONFIG_BOOLEAN,
CONFIG_NUMERIC,
@@ -151,4 +152,5 @@ namespace PluginConfig
int len;
PluginConfigOption* options;
};
#pragma pack(pop)
}