summaryrefslogtreecommitdiffstats
path: root/target-sh4/op.c
diff options
context:
space:
mode:
Diffstat (limited to 'target-sh4/op.c')
-rw-r--r--target-sh4/op.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/target-sh4/op.c b/target-sh4/op.c
index 0dcec49..1004ef4 100644
--- a/target-sh4/op.c
+++ b/target-sh4/op.c
@@ -419,7 +419,7 @@ void OPPROTO op_subv_T0_T1(void)
void OPPROTO op_trapa(void)
{
- env->tra = PARAM1 * 2;
+ env->tra = PARAM1 << 2;
env->exception_index = 0x160;
do_raise_exception();
RETURN();
OpenPOWER on IntegriCloud