From 47e87743159e68af89bbc9d0b99a609f95115cfb Mon Sep 17 00:00:00 2001 From: zilmar Date: Tue, 25 Sep 2012 18:35:15 +1000 Subject: [PATCH] fixed up interpreter use of tlb --- .../Project64/N64 System/Interpreter/Interpreter Ops.cpp | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/Source/Project64/N64 System/Interpreter/Interpreter Ops.cpp b/Source/Project64/N64 System/Interpreter/Interpreter Ops.cpp index cb2f88be8..f646a5443 100644 --- a/Source/Project64/N64 System/Interpreter/Interpreter Ops.cpp +++ b/Source/Project64/N64 System/Interpreter/Interpreter Ops.cpp @@ -1845,22 +1845,22 @@ void R4300iOp::COP0_MT (void) { /************************** COP0 CO functions ***********************/ void R4300iOp::COP0_CO_TLBR (void) { - if (!bUseTlb) { return; } + if (!bUseTlb()) { return; } _TLB->ReadEntry(); } void R4300iOp::COP0_CO_TLBWI (void) { - if (!bUseTlb) { return; } + if (!bUseTlb()) { return; } _TLB->WriteEntry(_Reg->INDEX_REGISTER & 0x1F,FALSE); } void R4300iOp::COP0_CO_TLBWR (void) { - if (!bUseTlb) { return; } + if (!bUseTlb()) { return; } _TLB->WriteEntry(_Reg->RANDOM_REGISTER & 0x1F,true); } void R4300iOp::COP0_CO_TLBP (void) { - if (!bUseTlb) { return; } + if (!bUseTlb()) { return; } _TLB->Probe(); }