Avoid shadowing variables.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@6712 8ced0084-cf51-0410-be5f-012b33b47a6e
This commit is contained in:
1 parent
4f2bfd181a
commit
527057cb27
6 files changed
+15
-11
No files matched your search
@@ -382,7 +382,7 @@ void addr(const UDSPInstruction opc)
|
||||
u8 sreg = ((opc >> 9) & 0x3) + DSP_REG_AXL0;
|
||||
|
||||
s64 acc = dsp_get_long_acc(dreg);
|
||||
s64 ax;
|
||||
s64 ax = 0;
|
||||
switch(sreg) {
|
||||
case DSP_REG_AXL0:
|
||||
case DSP_REG_AXL1:
|
||||
@@ -581,7 +581,7 @@ void subr(const UDSPInstruction opc)
|
||||
u8 sreg = ((opc >> 9) & 0x3) + DSP_REG_AXL0;
|
||||
|
||||
s64 acc = dsp_get_long_acc(dreg);
|
||||
s64 ax;
|
||||
s64 ax = 0;
|
||||
switch(sreg) {
|
||||
case DSP_REG_AXL0:
|
||||
case DSP_REG_AXL1:
|
||||
@@ -758,7 +758,7 @@ void movr(const UDSPInstruction opc)
|
||||
u8 areg = (opc >> 8) & 0x1;
|
||||
u8 sreg = ((opc >> 9) & 0x3) + DSP_REG_AXL0;
|
||||
|
||||
s64 ax;
|
||||
s64 ax = 0;
|
||||
switch(sreg) {
|
||||
case DSP_REG_AXL0:
|
||||
case DSP_REG_AXL1:
|
||||
|
||||
Reference in new issue
Block a user