SH4: system emulator interrupt update, by Magnus Damm.

git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@3762 c046a42c-6fe2-441c-8c8c-71466251a162
This commit is contained in:
ths 2007-12-02 06:18:24 +00:00
parent 823029f909
commit e96e2044a1
7 changed files with 169 additions and 47 deletions

View file

@ -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();