From ee8e6e88228581b28e7d9198ec25b0c079d0204d Mon Sep 17 00:00:00 2001 From: sephiroth99 Date: Wed, 30 Dec 2015 14:35:26 -0500 Subject: [PATCH] debug_window: Use function to store from '__m128' variable. --- src/xenia/debug/ui/debug_window.cc | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/src/xenia/debug/ui/debug_window.cc b/src/xenia/debug/ui/debug_window.cc index 7a80528a6..a63fafbd8 100644 --- a/src/xenia/debug/ui/debug_window.cc +++ b/src/xenia/debug/ui/debug_window.cc @@ -959,6 +959,8 @@ void DebugWindow::DrawRegistersPane() { case RegisterGroup::kHostVector: { ImGui::BeginChild("##host_vector"); for (int i = 0; i < 16; ++i) { + float f[4]; + _mm_storeu_ps(f, thread_info->host_context.xmm_registers[i]); auto reg = static_cast(static_cast(X64Register::kXmm0) + i); ImGui::BeginGroup(); @@ -967,8 +969,7 @@ void DebugWindow::DrawRegistersPane() { ImGui::SameLine(); ImGui::Dummy(ImVec2(4, 0)); ImGui::SameLine(); - dirty_host_context |= DrawRegisterTextBoxes( - i, thread_info->host_context.xmm_registers[i].m128_f32); + dirty_host_context |= DrawRegisterTextBoxes(i, f); ImGui::EndGroup(); } ImGui::EndChild();