summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorJoel Linn <jl@conductive.de>2022-09-22 13:56:49 +0200
committerRick Gibbed <rick@gibbed.us>2022-12-28 14:16:32 -0600
commitb107af68bc3734bca7d61d1cb87c1fdb02f0b441 (patch)
tree7aca0fdb7e7b5709c3ba3e8093a1bcf2af6d4500 /src
parentf04cfb3b65273a1ef81dfa90ec64f0e17d80c1b6 (diff)
[ImGui] Fix removed flags
Diffstat (limited to 'src')
-rw-r--r--src/xenia/debug/ui/debug_window.cc4
1 files 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);