Skip to content

Commit

Permalink
fix for latest dear imgui version
Browse files Browse the repository at this point in the history
  • Loading branch information
floooh committed May 23, 2023
1 parent 4667673 commit 188d90f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ext/chips/ui_memedit.h
Original file line number Diff line number Diff line change
Expand Up @@ -431,7 +431,7 @@ struct MemoryEditor
UserData user_data;
user_data.CursorPos = -1;
snprintf(user_data.CurrentBufOverwrite, sizeof(user_data.CurrentBufOverwrite),"%02X", ReadFn ? ReadFn(mem_data, addr) : mem_data[addr]);
ImGuiInputTextFlags flags = ImGuiInputTextFlags_CharsHexadecimal | ImGuiInputTextFlags_EnterReturnsTrue | ImGuiInputTextFlags_AutoSelectAll | ImGuiInputTextFlags_NoHorizontalScroll | ImGuiInputTextFlags_AlwaysInsertMode | ImGuiInputTextFlags_CallbackAlways;
ImGuiInputTextFlags flags = ImGuiInputTextFlags_CharsHexadecimal | ImGuiInputTextFlags_EnterReturnsTrue | ImGuiInputTextFlags_AutoSelectAll | ImGuiInputTextFlags_NoHorizontalScroll | ImGuiInputTextFlags_AlwaysOverwrite | ImGuiInputTextFlags_CallbackAlways;
if (ImGui::InputText("##data", DataInputBuf, 32, flags, UserData::Callback, &user_data))
data_write = data_next = true;
else if (!DataEditingTakeFocus && !ImGui::IsItemActive())
Expand Down

0 comments on commit 188d90f

Please sign in to comment.