mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-07-18 20:00:03 -06:00
DSP: Separate the two UpdateRegister functions more clearly. Add more comments about the condition codes.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@2874 8ced0084-cf51-0410-be5f-012b33b47a6e
This commit is contained in:
@ -65,14 +65,6 @@ extern volatile u32 dsp_running;
|
||||
static bool cr_halt = true;
|
||||
static bool cr_external_int = false;
|
||||
|
||||
// SR flag defines.
|
||||
// These are probably not accurate. Do not use yet.
|
||||
#define SR_LOGIC_ZERO 0x0040 // ?? duddie's doc sometimes say & 1<<6, sometimes 1<<14 (0x4000)
|
||||
#define SR_PROD_MUL2 0x2000
|
||||
#define SR_SIGN 0x0008
|
||||
#define SR_ARITH_ZERO 0x0002
|
||||
#define SR_INT_ENABLE 0x0200
|
||||
|
||||
void UpdateCachedCR()
|
||||
{
|
||||
cr_halt = (g_dsp.cr & 0x4) != 0;
|
||||
|
Reference in New Issue
Block a user