GUI: fix 3+ digit addresses in register view

This commit is contained in:
tildearrow 2022-10-22 03:05:32 -05:00
parent 69090232fb
commit 0ce746d1d3
1 changed files with 3 additions and 0 deletions

View File

@ -18,6 +18,7 @@
*/
#include "gui.h"
#include <imgui.h>
void FurnaceGUI::drawRegView() {
if (nextWindow==GUI_WINDOW_REGISTER_VIEW) {
@ -38,6 +39,8 @@ void FurnaceGUI::drawRegView() {
} else {
ImGui::PushFont(patFont);
if (ImGui::BeginTable("Memory",17)) {
ImGui::TableSetupColumn("addr",ImGuiTableColumnFlags_WidthFixed);
ImGui::TableNextRow();
ImGui::TableNextColumn();
for (int i=0; i<16; i++) {