@@ -47,7 +47,7 @@ void gui_debug_window_huc6270_info(int vdc)
4747 strncpy (title, " HuC6270 Info" , sizeof (title));
4848
4949 ImGui::PushStyleVar (ImGuiStyleVar_WindowRounding, 8 .0f );
50- ImGui::SetNextWindowPos (ImVec2 (214 , 45 ), ImGuiCond_FirstUseEver);
50+ ImGui::SetNextWindowPos (ImVec2 (214 + ((vdc == 1 ) ? 0 : 224 ) , 45 ), ImGuiCond_FirstUseEver);
5151 ImGui::SetNextWindowSize (ImVec2 (216 , 618 ), ImGuiCond_FirstUseEver);
5252 ImGui::Begin (title, show);
5353
@@ -191,7 +191,7 @@ void gui_debug_window_huc6270_registers(int vdc)
191191 strncpy (title, " HuC6270 Registers" , sizeof (title));
192192
193193 ImGui::PushStyleVar (ImGuiStyleVar_WindowRounding, 8 .0f );
194- ImGui::SetNextWindowPos (ImVec2 (93 , 79 ), ImGuiCond_FirstUseEver);
194+ ImGui::SetNextWindowPos (ImVec2 (93 + ((vdc == 1 ) ? 0 : 274 ) , 79 ), ImGuiCond_FirstUseEver);
195195 ImGui::SetNextWindowSize (ImVec2 (284 , 400 ), ImGuiCond_FirstUseEver);
196196 ImGui::Begin (title, show);
197197
@@ -248,7 +248,7 @@ void gui_debug_window_huc6270_background(int vdc)
248248 strncpy (title, " HuC6270 Background" , sizeof (title));
249249
250250 ImGui::PushStyleVar (ImGuiStyleVar_WindowRounding, 8 .0f );
251- ImGui::SetNextWindowPos (ImVec2 (63 , 35 ), ImGuiCond_FirstUseEver);
251+ ImGui::SetNextWindowPos (ImVec2 (63 + ((vdc == 1 ) ? 0 : 108 ) , 35 + ((vdc == 1 ) ? 0 : 44 ) ), ImGuiCond_FirstUseEver);
252252 ImGui::SetNextWindowSize (ImVec2 (545 , 614 ), ImGuiCond_FirstUseEver);
253253 ImGui::Begin (title, show);
254254
@@ -416,7 +416,7 @@ void gui_debug_window_huc6270_sprites(int vdc)
416416 float scale = 4 .0f ;
417417
418418 ImGui::PushStyleVar (ImGuiStyleVar_WindowRounding, 8 .0f );
419- ImGui::SetNextWindowPos (ImVec2 (78 , 56 ), ImGuiCond_FirstUseEver);
419+ ImGui::SetNextWindowPos (ImVec2 (78 + ((vdc == 1 ) ? 0 : 64 ) , 56 + ((vdc == 1 ) ? 0 : 34 ) ), ImGuiCond_FirstUseEver);
420420 ImGui::SetNextWindowSize (ImVec2 (546 , 500 ), ImGuiCond_FirstUseEver);
421421 ImGui::Begin (title, show);
422422
0 commit comments