aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--target-sh4/op.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/target-sh4/op.c b/target-sh4/op.c
index d3b68bc665..758aa53b7c 100644
--- a/target-sh4/op.c
+++ b/target-sh4/op.c
@@ -737,7 +737,7 @@ void OPPROTO op_dec4_rN(void)
void OPPROTO op_dec8_rN(void)
{
- env->gregs[PARAM1] -= 4;
+ env->gregs[PARAM1] -= 8;
RETURN();
}
@@ -761,7 +761,7 @@ void OPPROTO op_inc4_rN(void)
void OPPROTO op_inc8_rN(void)
{
- env->gregs[PARAM1] += 4;
+ env->gregs[PARAM1] += 8;
RETURN();
}