Skip to content

Commit

Permalink
Fix build
Browse files Browse the repository at this point in the history
  • Loading branch information
drhelius committed Apr 17, 2024
1 parent da9fd2e commit 209e7d0
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion platforms/desktop-shared/gui_debug.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ struct DisassmeblerLine
};

static MemoryEditor mem_edit;
static GearMemoryEditor gear_mem_edit;
static MemEditor gear_mem_edit;
static ImVec4 cyan = ImVec4(0.1f,0.9f,0.9f,1.0f);
static ImVec4 magenta = ImVec4(1.0f,0.502f,0.957f,1.0f);
static ImVec4 yellow = ImVec4(1.0f,0.90f,0.05f,1.0f);
Expand Down
2 changes: 1 addition & 1 deletion platforms/desktop-shared/imgui/memory_editor.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -97,7 +97,7 @@ void MemEditor::Draw(uint8_t* mem_data, int mem_size, int base_display_addr)
ImGui::EndTable();
}

if (ImGui::BeginTable("##hex", byte_column_count, ImGuiTableFlags_SizingFixedFit | ImGuiTableFlags_NoKeepColumnsVisible /*| ImGuiTableFlags_RowBg*/ | ImGuiTableFlags_ScrollY))
if (ImGui::BeginTable("##hex", byte_column_count, ImGuiTableFlags_SizingFixedFit | ImGuiTableFlags_NoKeepColumnsVisible | ImGuiTableFlags_RowBg | ImGuiTableFlags_ScrollY))
{
m_row_scroll_top = ImGui::GetScrollY() / character_size.y;
m_row_scroll_bottom = m_row_scroll_top + (ImGui::GetWindowHeight() / character_size.y);
Expand Down

0 comments on commit 209e7d0

Please sign in to comment.