diff options
Diffstat (limited to 'target-mips/op.c')
-rw-r--r-- | target-mips/op.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/target-mips/op.c b/target-mips/op.c index a0611e0..835b02a 100644 --- a/target-mips/op.c +++ b/target-mips/op.c @@ -1283,7 +1283,7 @@ void op_mtc0_context (void) void op_mtc0_pagemask (void) { /* 1k pages not implemented */ - env->CP0_PageMask = T0 & 0x1FFFE000; + env->CP0_PageMask = T0 & (0x1FFFFFFF & (TARGET_PAGE_MASK << 1)); RETURN(); } |