debug_window: Use function to store from '__m128' variable.
This commit is contained in:
@@ -959,6 +959,8 @@ void DebugWindow::DrawRegistersPane() {
|
|||||||
case RegisterGroup::kHostVector: {
|
case RegisterGroup::kHostVector: {
|
||||||
ImGui::BeginChild("##host_vector");
|
ImGui::BeginChild("##host_vector");
|
||||||
for (int i = 0; i < 16; ++i) {
|
for (int i = 0; i < 16; ++i) {
|
||||||
|
float f[4];
|
||||||
|
_mm_storeu_ps(f, thread_info->host_context.xmm_registers[i]);
|
||||||
auto reg =
|
auto reg =
|
||||||
static_cast<X64Register>(static_cast<int>(X64Register::kXmm0) + i);
|
static_cast<X64Register>(static_cast<int>(X64Register::kXmm0) + i);
|
||||||
ImGui::BeginGroup();
|
ImGui::BeginGroup();
|
||||||
@@ -967,8 +969,7 @@ void DebugWindow::DrawRegistersPane() {
|
|||||||
ImGui::SameLine();
|
ImGui::SameLine();
|
||||||
ImGui::Dummy(ImVec2(4, 0));
|
ImGui::Dummy(ImVec2(4, 0));
|
||||||
ImGui::SameLine();
|
ImGui::SameLine();
|
||||||
dirty_host_context |= DrawRegisterTextBoxes(
|
dirty_host_context |= DrawRegisterTextBoxes(i, f);
|
||||||
i, thread_info->host_context.xmm_registers[i].m128_f32);
|
|
||||||
ImGui::EndGroup();
|
ImGui::EndGroup();
|
||||||
}
|
}
|
||||||
ImGui::EndChild();
|
ImGui::EndChild();
|
||||||
|
|||||||
Reference in New Issue
Block a user