mirror of https://github.com/xemu-project/xemu.git
Fix write to K0 bits in Config0, by Aurelien Jarno.
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@3006 c046a42c-6fe2-441c-8c8c-71466251a162
This commit is contained in:
parent
022a22c7e1
commit
7bfd934a13
target-mips
|
@ -1433,7 +1433,7 @@ void op_mtc0_ebase (void)
|
||||||
|
|
||||||
void op_mtc0_config0 (void)
|
void op_mtc0_config0 (void)
|
||||||
{
|
{
|
||||||
env->CP0_Config0 = (env->CP0_Config0 & 0x81FFFFF8) | (T0 & 0x00000001);
|
env->CP0_Config0 = (env->CP0_Config0 & 0x81FFFFF8) | (T0 & 0x00000007);
|
||||||
RETURN();
|
RETURN();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue