From f4e58a9238a8c6da32368d52b6a3fc6a6f264873 Mon Sep 17 00:00:00 2001 From: Billy Laws Date: Sun, 31 Jul 2022 14:58:47 +0100 Subject: [PATCH] Remove redundant synchost creating a new buffer --- app/src/main/cpp/skyline/gpu/buffer_manager.cpp | 1 - 1 file changed, 1 deletion(-) diff --git a/app/src/main/cpp/skyline/gpu/buffer_manager.cpp b/app/src/main/cpp/skyline/gpu/buffer_manager.cpp index f9ac0a5a..bb04d8ea 100644 --- a/app/src/main/cpp/skyline/gpu/buffer_manager.cpp +++ b/app/src/main/cpp/skyline/gpu/buffer_manager.cpp @@ -185,7 +185,6 @@ namespace skyline::gpu { // If we couldn't find any overlapping buffers, create a new buffer without coalescing LockedBuffer buffer{std::make_shared(gpu, guestMapping), tag}; buffer->SetupGuestMappings(); - buffer->SynchronizeHost(); InsertBuffer(*buffer); return buffer->GetView(offset, size); } else {