mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-07-29 09:09:52 -06:00
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:
@ -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
|
||||
|
Reference in New Issue
Block a user