GPU: Set line width at higher internal resolutions

This commit is contained in:
Connor McLaughlin
2019-10-04 21:08:53 +10:00
parent d3ecad391d
commit 8987fa93c2
4 changed files with 23 additions and 1 deletions

View File

@ -524,7 +524,7 @@ void SDLInterface::RenderMainMenuBar()
if (ImGui::BeginMenu("Internal Resolution"))
{
const u32 current_internal_resolution = m_system->GetSettings().gpu_resolution_scale;
for (u32 scale = 1; scale <= 16; scale++)
for (u32 scale = 1; scale <= m_system->GetSettings().max_gpu_resolution_scale; scale++)
{
if (ImGui::MenuItem(
TinyString::FromFormat("%ux (%ux%u)", scale, scale * GPU::VRAM_WIDTH, scale * GPU::VRAM_HEIGHT),