diff --git a/pcsx2/GS/GSState.cpp b/pcsx2/GS/GSState.cpp index 82b7a84567..79978c9564 100644 --- a/pcsx2/GS/GSState.cpp +++ b/pcsx2/GS/GSState.cpp @@ -577,12 +577,8 @@ int GSState::GetFramebufferHeight() int GSState::GetFramebufferWidth() { - // Framebuffer height is 11 bits max - constexpr int width_limit = (1 << 11); - const GSVector4i disp1_rect = GetFrameRect(0, true); const GSVector4i disp2_rect = GetFrameRect(1, true); - const GSVector4i combined = disp1_rect.runion(disp2_rect); const int max_width = std::max(disp1_rect.width(), disp2_rect.width()); diff --git a/pcsx2/GS/Renderers/HW/GSRendererHW.cpp b/pcsx2/GS/Renderers/HW/GSRendererHW.cpp index f3a22f1ee0..08f216eaa5 100644 --- a/pcsx2/GS/Renderers/HW/GSRendererHW.cpp +++ b/pcsx2/GS/Renderers/HW/GSRendererHW.cpp @@ -252,7 +252,6 @@ GSTexture* GSRendererHW::GetOutput(int i, int& y_offset) // TRACE(_T("[%d] GetOutput %d %05x (%d)\n"), (int)m_perfmon.GetFrame(), i, (int)TEX0.TBP0, (int)TEX0.PSM); GSTexture* t = nullptr; - GSVector2i size = GetOutputSize(fb_height); if (GSTextureCache::Target* rt = m_tc->LookupDisplayTarget(TEX0, GetOutputSize(fb_height), fb_width, fb_height)) {