Revision acd858d9 target-mips/helper.c

b/target-mips/helper.c
398 398
        if (env->CP0_Status & (1 << CP0St_BEV)) {
399 399
            env->PC = (int32_t)0xBFC00200;
400 400
        } else {
401
            env->PC = (int32_t)0x80000000;
401
            env->PC = (int32_t)(env->CP0_EBase & ~0x3ff);
402 402
        }
403 403
        env->PC += offset;
404 404
        env->CP0_Cause = (env->CP0_Cause & ~0x7C) | (cause << 2);

Also available in: Unified diff