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
master
ths 2007-06-22 11:50:17 +00:00
parent 022a22c7e1
commit 7bfd934a13
1 changed files with 1 additions and 1 deletions

View File

@ -1433,7 +1433,7 @@ void op_mtc0_ebase (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();
}