tiny DSP cleanup: Move pending exceptions register into SDSP struct.

git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@2869 8ced0084-cf51-0410-be5f-012b33b47a6e
This commit is contained in:
hrydgard
2009-04-05 09:23:43 +00:00
parent 82880f96da
commit 07c1b7d784
4 changed files with 24 additions and 16 deletions

View File

@ -74,6 +74,8 @@ struct SDSP
static u8* cpu_ram;
static u16 cr;
static u8 reg_stack_ptr[4];
static u8 exceptions; // pending exceptiosn?
// lets make stack depth to 32 for now
static u16 reg_stack[4][DSP_STACK_DEPTH];
static void (* irq_request)(void);
@ -109,4 +111,7 @@ u16* gdsp_get_irom(void);
u16* gdsp_get_dram(void);
u16* gdsp_get_drom(void);
// sets a flag in the pending exception register.
void gdsp_generate_exception(u8 level);
#endif