mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-07-23 06:09:50 -06:00
DSPLLE - tons of bugs fixed... try Zelda ucode games under LLE now (like Luigi Mansion :)
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@5211 8ced0084-cf51-0410-be5f-012b33b47a6e
This commit is contained in:
@ -218,6 +218,13 @@ inline s64 dsp_get_long_prod()
|
||||
return val;
|
||||
}
|
||||
|
||||
inline s64 dsp_get_long_prod_prodl_zero()
|
||||
{
|
||||
s64 tempprod = dsp_get_long_prod();
|
||||
tempprod = (tempprod & ~0xffff)+(((tempprod & 0xffff) >= 0x8000) ? 0x10000 : 0);
|
||||
return tempprod;
|
||||
}
|
||||
|
||||
// For accurate emulation, this is wrong - but the real prod registers behave
|
||||
// in completely bizarre ways. Probably not meaningful to emulate them accurately.
|
||||
inline void dsp_set_long_prod(s64 val)
|
||||
|
Reference in New Issue
Block a user