From 5b44212c2d5b32629063e33e3394f1d78ef1b305 Mon Sep 17 00:00:00 2001 From: shygoo Date: Sun, 22 Nov 2020 13:06:50 -0600 Subject: [PATCH] [Core] Fix TLB bounds check --- Source/Project64-core/N64System/Mips/TLBclass.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Source/Project64-core/N64System/Mips/TLBclass.cpp b/Source/Project64-core/N64System/Mips/TLBclass.cpp index 780ab9ead..763d75936 100644 --- a/Source/Project64-core/N64System/Mips/TLBclass.cpp +++ b/Source/Project64-core/N64System/Mips/TLBclass.cpp @@ -243,7 +243,7 @@ void CTLB::SetupTLB_Entry(int index, bool Random) { continue; } - if (m_FastTlb[FastIndx].PHYSSTART > 0x1FFFFFFF) + if (m_FastTlb[FastIndx].PHYSEND > 0x1FFFFFFF) { continue; }