From 6b111e4918536a7d62e6801e261d5f5b9b2d9574 Mon Sep 17 00:00:00 2001 From: Paulo Matos Date: Mon, 1 Apr 2024 07:35:09 +0000 Subject: [PATCH] Adjust static array size. --- Source/Tools/CommonTools/HarnessHelpers.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Source/Tools/CommonTools/HarnessHelpers.h b/Source/Tools/CommonTools/HarnessHelpers.h index d2d30343b6..7c110c128f 100644 --- a/Source/Tools/CommonTools/HarnessHelpers.h +++ b/Source/Tools/CommonTools/HarnessHelpers.h @@ -125,7 +125,7 @@ namespace FEX::HarnessHelper { } if (BaseConfig.OptionRegDataCount > 0) { - static constexpr std::array OffsetArrayAVX = {{ + static constexpr std::array OffsetArrayAVX = {{ offsetof(FEXCore::Core::CPUState, rip), offsetof(FEXCore::Core::CPUState, gregs[FEXCore::X86State::REG_RAX]), offsetof(FEXCore::Core::CPUState, gregs[FEXCore::X86State::REG_RBX]), @@ -170,7 +170,7 @@ namespace FEX::HarnessHelper { offsetof(FEXCore::Core::CPUState, mm[6][0]), offsetof(FEXCore::Core::CPUState, mm[7][0]), }}; - static constexpr std::array OffsetArraySSE = {{ + static constexpr std::array OffsetArraySSE = {{ offsetof(FEXCore::Core::CPUState, rip), offsetof(FEXCore::Core::CPUState, gregs[FEXCore::X86State::REG_RAX]), offsetof(FEXCore::Core::CPUState, gregs[FEXCore::X86State::REG_RBX]),