launcher: pack plugin config structs to ensure matching alignments
This commit is contained in:
@@ -46,6 +46,7 @@ public:
|
|||||||
|
|
||||||
namespace PluginConfig
|
namespace PluginConfig
|
||||||
{
|
{
|
||||||
|
#pragma pack(push, 1)
|
||||||
enum ConfigType {
|
enum ConfigType {
|
||||||
CONFIG_BOOLEAN,
|
CONFIG_BOOLEAN,
|
||||||
CONFIG_NUMERIC,
|
CONFIG_NUMERIC,
|
||||||
@@ -151,4 +152,5 @@ namespace PluginConfig
|
|||||||
int len;
|
int len;
|
||||||
PluginConfigOption* options;
|
PluginConfigOption* options;
|
||||||
};
|
};
|
||||||
|
#pragma pack(pop)
|
||||||
}
|
}
|
||||||
@@ -46,6 +46,7 @@ public:
|
|||||||
|
|
||||||
namespace PluginConfig
|
namespace PluginConfig
|
||||||
{
|
{
|
||||||
|
#pragma pack(push, 1)
|
||||||
enum ConfigType {
|
enum ConfigType {
|
||||||
CONFIG_BOOLEAN,
|
CONFIG_BOOLEAN,
|
||||||
CONFIG_NUMERIC,
|
CONFIG_NUMERIC,
|
||||||
@@ -151,4 +152,5 @@ namespace PluginConfig
|
|||||||
int len;
|
int len;
|
||||||
PluginConfigOption* options;
|
PluginConfigOption* options;
|
||||||
};
|
};
|
||||||
|
#pragma pack(pop)
|
||||||
}
|
}
|
||||||
Reference in New Issue
Block a user