mirror of
https://github.com/kanjitalk755/macemu.git
synced 2025-01-12 01:30:03 +00:00
cleanups
This commit is contained in:
parent
3ca595a337
commit
dc79320904
@ -336,11 +336,8 @@ void powerpc_cpu_base::emul_set_xer(uint32 value)
|
|||||||
uint32 powerpc_cpu_base::emul_get_cr() const
|
uint32 powerpc_cpu_base::emul_get_cr() const
|
||||||
{
|
{
|
||||||
uint32 cr = 0;
|
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);
|
cr |= (ppc->crf[i] & 15) << (28 - 4 * i);
|
||||||
dd |= ppc->crf[i];
|
|
||||||
}
|
|
||||||
return cr;
|
return cr;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user