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:
Shawn Hoffman
2009-03-30 03:27:31 +00:00
parent 20b54fb71f
commit 57105f08d6
28 changed files with 687 additions and 701 deletions

View File

@ -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);
}