Merge pull request #2657 from Sonicadvance1/remove_unnecessary_guard

LookupCache: Removes unnecessary recursive lock_guard
This commit is contained in:
Mai authored and GitHub committed 2023-05-05 14:33:50 -04:00
commit 6dfea8a80f
1 file changed
-2
-2
View File
@@ -168,8 +168,6 @@ public:
private:
void CacheBlockMapping(uint64_t Address, uintptr_t HostCode) {
std::lock_guard<std::recursive_mutex> lk(WriteLock);
// Do L1
auto &L1Entry = reinterpret_cast<LookupCacheEntry*>(L1Pointer)[Address & L1_ENTRIES_MASK];
L1Entry.GuestCode = Address;