Fix TLBP after making cop0.index a union
This commit is contained in:
@@ -72,9 +72,9 @@ void Cop0::tlbp(Registers& regs) {
|
||||
int match = -1;
|
||||
TLBEntry* entry = TLBTryMatch(regs, entryHi.raw, &match);
|
||||
if(entry && match >= 0) {
|
||||
index.i = match;
|
||||
index.p = 0;
|
||||
index.raw = match;
|
||||
} else {
|
||||
index.raw = 0;
|
||||
index.p = 1;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user