forked from dolphin-emu/dolphin
Core: Clean up brace placements
This commit is contained in:
@@ -370,7 +370,9 @@ void addr(const UDSPInstruction opc)
|
||||
|
||||
s64 acc = dsp_get_long_acc(dreg);
|
||||
s64 ax = 0;
|
||||
switch (sreg) {
|
||||
|
||||
switch (sreg)
|
||||
{
|
||||
case DSP_REG_AXL0:
|
||||
case DSP_REG_AXL1:
|
||||
ax = (s16)g_dsp.r.ax[sreg-DSP_REG_AXL0].l;
|
||||
@@ -383,6 +385,7 @@ void addr(const UDSPInstruction opc)
|
||||
ax = 0;
|
||||
break;
|
||||
}
|
||||
|
||||
ax <<= 16;
|
||||
s64 res = acc + ax;
|
||||
|
||||
@@ -569,7 +572,9 @@ void subr(const UDSPInstruction opc)
|
||||
|
||||
s64 acc = dsp_get_long_acc(dreg);
|
||||
s64 ax = 0;
|
||||
switch (sreg) {
|
||||
|
||||
switch (sreg)
|
||||
{
|
||||
case DSP_REG_AXL0:
|
||||
case DSP_REG_AXL1:
|
||||
ax = (s16)g_dsp.r.ax[sreg-DSP_REG_AXL0].l;
|
||||
@@ -582,6 +587,7 @@ void subr(const UDSPInstruction opc)
|
||||
ax = 0;
|
||||
break;
|
||||
}
|
||||
|
||||
ax <<= 16;
|
||||
s64 res = acc - ax;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user