diff options
author | ths <ths@c046a42c-6fe2-441c-8c8c-71466251a162> | 2007-12-02 06:18:24 +0000 |
---|---|---|
committer | ths <ths@c046a42c-6fe2-441c-8c8c-71466251a162> | 2007-12-02 06:18:24 +0000 |
commit | e96e2044a14340bf1e612b7f046093495c10a06f (patch) | |
tree | b104c5d9280ad19c03afcecd20457324627d3580 /target-sh4/op.c | |
parent | 823029f909b3666660418387d48ea6a207f23f26 (diff) |
SH4: system emulator interrupt update, by Magnus Damm.
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@3762 c046a42c-6fe2-441c-8c8c-71466251a162
Diffstat (limited to 'target-sh4/op.c')
-rw-r--r-- | target-sh4/op.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/target-sh4/op.c b/target-sh4/op.c index 0dcec49060..1004ef4c70 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(); |