Skip to content

Commit

Permalink
Fix multi cart bank offsets in memory editor
Browse files Browse the repository at this point in the history
  • Loading branch information
drhelius committed Dec 24, 2024
1 parent 8385394 commit dd78d3f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion platforms/desktop-shared/gui_debug.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -391,7 +391,7 @@ static void debug_window_memory(void)
if (mem_edit_select == mem_edit_index)
mem_edit_select = -1;
current_mem_edit = mem_edit_index;
mem_edit[current_mem_edit].Draw(memory->GetCurrentRule()->GetPage(i), 0x2000, 0);
mem_edit[current_mem_edit].Draw(memory->GetCurrentRule()->GetPage(i), 0x2000, 0x2000 * i);
ImGui::PopFont();
ImGui::EndTabItem();
}
Expand Down

0 comments on commit dd78d3f

Please sign in to comment.