diff options
| author | hrydgard <hrydgard@gmail.com> | 2009-07-18 17:53:15 +0000 |
|---|---|---|
| committer | hrydgard <hrydgard@gmail.com> | 2009-07-18 17:53:15 +0000 |
| commit | 9b0bed1e7fe647cd712e70cf10d6273ec213ed32 (patch) | |
| tree | 26ad7c3b1027f034c255442874fd179951b322e6 /Source/Core | |
| parent | 89c55c32eceffda360922bc37df0f3a7eb20de0f (diff) | |
fix a build error and some warnings.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@3835 8ced0084-cf51-0410-be5f-012b33b47a6e
Diffstat (limited to 'Source/Core')
| -rw-r--r-- | Source/Core/DSPCore/Src/DSPIntUtil.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/Source/Core/DSPCore/Src/DSPIntUtil.h b/Source/Core/DSPCore/Src/DSPIntUtil.h index 0d87136afe..96e24389fe 100644 --- a/Source/Core/DSPCore/Src/DSPIntUtil.h +++ b/Source/Core/DSPCore/Src/DSPIntUtil.h @@ -96,7 +96,7 @@ inline void dsp_increase_addr_reg(int reg, s16 value) // --- reg // --------------------------------------------------------------------------------------- -inline u16 dsp_op_read_reg(u8 reg) +inline u16 dsp_op_read_reg(int reg) { switch (reg & 0x1f) { case DSP_REG_ST0: @@ -109,7 +109,7 @@ inline u16 dsp_op_read_reg(u8 reg) } } -inline void dsp_op_write_reg(u8 reg, u16 val) +inline void dsp_op_write_reg(int reg, u16 val) { switch (reg & 0x1f) { // 8-bit sign extended registers. Should look at prod.h too... @@ -133,7 +133,7 @@ inline void dsp_op_write_reg(u8 reg, u16 val) } } -inline void dsp_conditional_extend_accum(u8 reg) +inline void dsp_conditional_extend_accum(int reg) { switch (reg) { |
