mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-06-11 16:49:28 +02:00
Update_SR_Register64 sets SR_TOP2BITS based on m, not h (does someone have tests saying otherwise?)
clean up dsp_base.inc a little, use some irom funcs where possible git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@5069 8ced0084-cf51-0410-be5f-012b33b47a6e
This commit is contained in:
@ -51,9 +51,9 @@ void Update_SR_Register64(s64 _Value, bool carry, bool overflow)
|
||||
g_dsp.r[DSP_REG_SR] |= SR_OVERFLOW;
|
||||
}
|
||||
|
||||
// Checks if top bits are equal, what is it good for?
|
||||
if (((_Value >> 62) == 0) || (_Value >> 62 == 3))
|
||||
{
|
||||
// Checks if top bits of m are equal, what is it good for?
|
||||
if (((_Value & 0xc0000000) == 0) || ((_Value & 0xc0000000) == 0xc0000000))
|
||||
{
|
||||
g_dsp.r[DSP_REG_SR] |= SR_TOP2BITS;
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user