fixed up interpreter use of tlb

This commit is contained in:
zilmar 2012-09-25 18:35:15 +10:00
parent caedf77806
commit 47e8774315
1 changed files with 4 additions and 4 deletions

View File

@ -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();
}