This commit is contained in:
gbeauche 2003-12-02 15:00:40 +00:00
parent 3ca595a337
commit dc79320904

View File

@ -336,11 +336,8 @@ void powerpc_cpu_base::emul_set_xer(uint32 value)
uint32 powerpc_cpu_base::emul_get_cr() const
{
uint32 cr = 0;
uint32 dd = 0;
for (int i = 0; i < 8; i++) {
for (int i = 0; i < 8; i++)
cr |= (ppc->crf[i] & 15) << (28 - 4 * i);
dd |= ppc->crf[i];
}
return cr;
}