housekeeping inline ROM functions

This commit is contained in:
Justin Scofield
2022-07-24 00:22:34 -04:00
parent 8022948fff
commit 0a6db683f6
2 changed files with 9 additions and 8 deletions

View File

@@ -168,7 +168,7 @@ void MasterEditor::DrawViewMenu() {
if (show_memory_editor) {
static MemoryEditor mem_edit;
mem_edit.DrawWindow("Memory Editor", (void *)rom_.data(), rom_.getSize());
mem_edit.DrawWindow("Memory Editor", (void *)rom_.data(), rom_.GetSize());
}
if (show_imgui_demo) {
@@ -209,8 +209,8 @@ void MasterEditor::DrawHelpMenu() const {
if (ImGui::MenuItem("About")) {
// insert the about window here
}
ImGui::Text("Title: %s", rom_.getTitle());
ImGui::Text("ROM Size: %ld", rom_.getSize());
ImGui::Text("Title: %s", rom_.GetTitle());
ImGui::Text("ROM Size: %ld", rom_.GetSize());
ImGui::EndMenu();
}
}