From 708bd3d9f7f375fba750561758abab77c99fa0af Mon Sep 17 00:00:00 2001 From: Stenzek Date: Sun, 31 Mar 2019 14:11:53 +1000 Subject: TextureCache: Simplify XFB reconstruction This also better handles in-memory interlaced XFB data placed by the CPU by considering the stride from the VI. --- Source/Core/VideoCommon/AsyncRequests.cpp | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'Source/Core/VideoCommon/AsyncRequests.cpp') diff --git a/Source/Core/VideoCommon/AsyncRequests.cpp b/Source/Core/VideoCommon/AsyncRequests.cpp index 28769925c9..cefd8541c4 100644 --- a/Source/Core/VideoCommon/AsyncRequests.cpp +++ b/Source/Core/VideoCommon/AsyncRequests.cpp @@ -113,7 +113,6 @@ void AsyncRequests::SetEnable(bool enable) void AsyncRequests::HandleEvent(const AsyncRequests::Event& e) { - EFBRectangle rc; switch (e.type) { case Event::EFB_POKE_COLOR: @@ -145,7 +144,7 @@ void AsyncRequests::HandleEvent(const AsyncRequests::Event& e) case Event::SWAP_EVENT: g_renderer->Swap(e.swap_event.xfbAddr, e.swap_event.fbWidth, e.swap_event.fbStride, - e.swap_event.fbHeight, rc, e.time); + e.swap_event.fbHeight, e.time); break; case Event::BBOX_READ: -- cgit v1.2.3