GPU: Report CRTC padding as signed in debug window

This commit is contained in:
Albert Liu 2020-07-03 22:11:05 -07:00
parent 45f3560427
commit e2b1158514
1 changed files with 1 additions and 1 deletions

View File

@ -1448,7 +1448,7 @@ void GPU::DrawDebugStateWindow()
ImGui::Text("Display origin: %u, %u", cs.display_origin_left, cs.display_origin_top); ImGui::Text("Display origin: %u, %u", cs.display_origin_left, cs.display_origin_top);
ImGui::Text("Active display: %ux%u @ (%u, %u)", cs.display_vram_width, cs.display_vram_height, cs.display_vram_left, ImGui::Text("Active display: %ux%u @ (%u, %u)", cs.display_vram_width, cs.display_vram_height, cs.display_vram_left,
cs.display_vram_top); cs.display_vram_top);
ImGui::Text("Padding: Left=%u, Top=%u, Right=%u, Bottom=%u", cs.display_origin_left, cs.display_origin_top, ImGui::Text("Padding: Left=%d, Top=%d, Right=%d, Bottom=%d", cs.display_origin_left, cs.display_origin_top,
cs.display_width - cs.display_vram_width - cs.display_origin_left, cs.display_width - cs.display_vram_width - cs.display_origin_left,
cs.display_height - cs.display_vram_height - cs.display_origin_top); cs.display_height - cs.display_vram_height - cs.display_origin_top);
} }