Arg!
--HG-- extra : convert_revision : 8328d002780c0291e7eb264076a62084de88b7a5
This commit is contained in:
parent
1543c3d0a1
commit
f3ba6d20f6
|
@ -762,7 +762,7 @@ decode OPCODE default Unknown::unknown() {
|
||||||
1: hw_mtpr({{
|
1: hw_mtpr({{
|
||||||
int miscRegIndex = (ipr_index < NumInternalProcRegs) ?
|
int miscRegIndex = (ipr_index < NumInternalProcRegs) ?
|
||||||
IprToMiscRegIndex[ipr_index] : -1;
|
IprToMiscRegIndex[ipr_index] : -1;
|
||||||
if(miscRegIndex < 0 || !IprIsWritable(miscRegIndex)
|
if(miscRegIndex < 0 || !IprIsWritable(miscRegIndex) ||
|
||||||
miscRegIndex >= NumInternalProcRegs)
|
miscRegIndex >= NumInternalProcRegs)
|
||||||
fault = new UnimplementedOpcodeFault;
|
fault = new UnimplementedOpcodeFault;
|
||||||
else
|
else
|
||||||
|
|
Loading…
Reference in a new issue