From b107af68bc3734bca7d61d1cb87c1fdb02f0b441 Mon Sep 17 00:00:00 2001 From: Joel Linn Date: Thu, 22 Sep 2022 13:56:49 +0200 Subject: [PATCH] [ImGui] Fix removed flags --- src/xenia/debug/ui/debug_window.cc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/xenia/debug/ui/debug_window.cc b/src/xenia/debug/ui/debug_window.cc index 0c03b7ebb..d56bcfd03 100644 --- a/src/xenia/debug/ui/debug_window.cc +++ b/src/xenia/debug/ui/debug_window.cc @@ -368,7 +368,7 @@ void DebugWindow::DrawSourcePane() { ImGui::PushButtonRepeat(true); bool can_step = !cache_.is_running && state_.thread_info; if (ImGui::ButtonEx("Step PPC", ImVec2(0, 0), - can_step ? 0 : ImGuiButtonFlags_Disabled)) { + can_step ? 0 : ImGuiItemFlags_Disabled)) { // By enabling the button when stepping we allow repeat behavior. if (processor_->execution_state() != cpu::ExecutionState::kStepping) { processor_->StepGuestInstruction(state_.thread_info->thread_id); @@ -386,7 +386,7 @@ void DebugWindow::DrawSourcePane() { ImGui::SameLine(); ImGui::PushButtonRepeat(true); if (ImGui::ButtonEx("Step x64", ImVec2(0, 0), - can_step ? 0 : ImGuiButtonFlags_Disabled)) { + can_step ? 0 : ImGuiItemFlags_Disabled)) { // By enabling the button when stepping we allow repeat behavior. if (processor_->execution_state() != cpu::ExecutionState::kStepping) { processor_->StepHostInstruction(state_.thread_info->thread_id);