From 821624c494b4ac0c2fb0f45b0c839e04ce8da5f4 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Henrik=20Rydg=C3=A5rd?= Date: Sat, 30 Nov 2024 01:30:46 +0100 Subject: [PATCH] TextureReplacer: Remove a lock that I don't think should be there. Blacklist another folder. --- Core/HLE/sceIo.cpp | 1 + GPU/Common/ReplacedTexture.cpp | 1 - 2 files changed, 1 insertion(+), 1 deletion(-) diff --git a/Core/HLE/sceIo.cpp b/Core/HLE/sceIo.cpp index 292a3eba4a..90117ebdd3 100644 --- a/Core/HLE/sceIo.cpp +++ b/Core/HLE/sceIo.cpp @@ -2466,6 +2466,7 @@ static u32 sceIoDopen(const char *path) { "TEXTURES", "DUMP", "SHADERS", + "DRIVERS", }; std::vector filtered; for (const auto &entry : dir->listing) { diff --git a/GPU/Common/ReplacedTexture.cpp b/GPU/Common/ReplacedTexture.cpp index 5f505c29f1..376064a482 100644 --- a/GPU/Common/ReplacedTexture.cpp +++ b/GPU/Common/ReplacedTexture.cpp @@ -101,7 +101,6 @@ ReplacedTexture::~ReplacedTexture() { if (threadWaitable_) { SetState(ReplacementState::CANCEL_INIT); - std::unique_lock lock(lock_); threadWaitable_->WaitAndRelease(); threadWaitable_ = nullptr; }