mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-07-31 01:59:52 -06:00
use dolphin-style typedefs in dsp-lle testing
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@2793 8ced0084-cf51-0410-be5f-012b33b47a6e
This commit is contained in:
@ -29,7 +29,7 @@
|
||||
|
||||
|
||||
|
||||
void dsp_reg_stack_push(uint8 stack_reg)
|
||||
void dsp_reg_stack_push(u8 stack_reg)
|
||||
{
|
||||
g_dsp.reg_stack_ptr[stack_reg]++;
|
||||
g_dsp.reg_stack_ptr[stack_reg] &= DSP_STACK_MASK;
|
||||
@ -37,7 +37,7 @@ void dsp_reg_stack_push(uint8 stack_reg)
|
||||
}
|
||||
|
||||
|
||||
void dsp_reg_stack_pop(uint8 stack_reg)
|
||||
void dsp_reg_stack_pop(u8 stack_reg)
|
||||
{
|
||||
g_dsp.r[DSP_REG_ST0 + stack_reg] = g_dsp.reg_stack[stack_reg][g_dsp.reg_stack_ptr[stack_reg]];
|
||||
g_dsp.reg_stack_ptr[stack_reg]--;
|
||||
@ -45,16 +45,16 @@ void dsp_reg_stack_pop(uint8 stack_reg)
|
||||
}
|
||||
|
||||
|
||||
void dsp_reg_store_stack(uint8 stack_reg, uint16 val)
|
||||
void dsp_reg_store_stack(u8 stack_reg, u16 val)
|
||||
{
|
||||
dsp_reg_stack_push(stack_reg);
|
||||
g_dsp.r[DSP_REG_ST0 + stack_reg] = val;
|
||||
}
|
||||
|
||||
|
||||
uint16 dsp_reg_load_stack(uint8 stack_reg)
|
||||
u16 dsp_reg_load_stack(u8 stack_reg)
|
||||
{
|
||||
uint16 val = g_dsp.r[DSP_REG_ST0 + stack_reg];
|
||||
u16 val = g_dsp.r[DSP_REG_ST0 + stack_reg];
|
||||
dsp_reg_stack_pop(stack_reg);
|
||||
return(val);
|
||||
}
|
||||
|
Reference in New Issue
Block a user