diff --git a/src/backend/x64/stack_layout.h b/src/backend/x64/stack_layout.h index b4db9de4..636f40b5 100644 --- a/src/backend/x64/stack_layout.h +++ b/src/backend/x64/stack_layout.h @@ -13,6 +13,11 @@ namespace Dynarmic::Backend::X64 { constexpr size_t SpillCount = 64; +#ifdef _MSC_VER +#pragma warning(push) +#pragma warning(disable:4324) // Structure was padded due to alignment specifier +#endif + struct alignas(16) StackLayout { s64 cycles_remaining; s64 cycles_to_run; @@ -22,8 +27,13 @@ struct alignas(16) StackLayout { u32 save_host_MXCSR; bool check_bit; + bool halt_requested; }; +#ifdef _MSC_VER +#pragma warning(pop) +#endif + static_assert(sizeof(StackLayout) % 16 == 0); } // namespace Dynarmic::Backend::X64