aboutsummaryrefslogtreecommitdiff
path: root/source/cpuops.c
diff options
context:
space:
mode:
authoraliaspider2014-10-30 05:50:41 +0100
committeraliaspider2014-10-30 05:50:41 +0100
commit9d26cad1e39af6e4c96a4efb5ae00332207163ca (patch)
treefdcb68b7a608f80a7747a805988a8ab1b9ba9690 /source/cpuops.c
parent452f0d2ac13dd8d69b2dedcc08fd3f8184d749c8 (diff)
downloadsnes9x2005-9d26cad1e39af6e4c96a4efb5ae00332207163ca.tar.gz
snes9x2005-9d26cad1e39af6e4c96a4efb5ae00332207163ca.tar.bz2
snes9x2005-9d26cad1e39af6e4c96a4efb5ae00332207163ca.zip
remove warnings
Diffstat (limited to 'source/cpuops.c')
-rw-r--r--source/cpuops.c66
1 files changed, 36 insertions, 30 deletions
diff --git a/source/cpuops.c b/source/cpuops.c
index 895ccc3..83b6910 100644
--- a/source/cpuops.c
+++ b/source/cpuops.c
@@ -3322,38 +3322,44 @@ static void Op0CM0(void)
}
#define BranchCheck1()\
- if( CPU.BranchSkip)\
- {\
- CPU.BranchSkip = FALSE;\
- if (!Settings.SoundSkipMethod) {\
- if( CPU.PC - CPU.PCBase > OpAddress)\
- return;\
- } else \
- if (Settings.SoundSkipMethod == 1)\
- return;\
- if (Settings.SoundSkipMethod == 3)\
- if( CPU.PC - CPU.PCBase > OpAddress)\
- return;\
- else\
- CPU.PC = CPU.PCBase + OpAddress;\
- }
+ if( CPU.BranchSkip)\
+ {\
+ CPU.BranchSkip = FALSE;\
+ if (!Settings.SoundSkipMethod) {\
+ if( CPU.PC - CPU.PCBase > OpAddress)\
+ return;\
+ }\
+ else \
+ if (Settings.SoundSkipMethod == 1)\
+ return;\
+ if (Settings.SoundSkipMethod == 3)\
+ {\
+ if( CPU.PC - CPU.PCBase > OpAddress)\
+ return;\
+ else\
+ CPU.PC = CPU.PCBase + OpAddress;\
+ }\
+ }
#define BranchCheck2()\
- if( CPU.BranchSkip)\
- {\
- CPU.BranchSkip = FALSE;\
- if (!Settings.SoundSkipMethod) {\
- if( CPU.PC - CPU.PCBase > OpAddress)\
- return;\
- } else \
- if (Settings.SoundSkipMethod == 1)\
- CPU.PC = CPU.PCBase + OpAddress;\
- if (Settings.SoundSkipMethod == 3)\
- if (CPU.PC - CPU.PCBase > OpAddress)\
- return;\
- else\
- CPU.PC = CPU.PCBase + OpAddress;\
- }
+ if( CPU.BranchSkip)\
+ {\
+ CPU.BranchSkip = FALSE;\
+ if (!Settings.SoundSkipMethod) {\
+ if( CPU.PC - CPU.PCBase > OpAddress)\
+ return;\
+ }\
+ else \
+ if (Settings.SoundSkipMethod == 1)\
+ CPU.PC = CPU.PCBase + OpAddress;\
+ if (Settings.SoundSkipMethod == 3)\
+ {\
+ if (CPU.PC - CPU.PCBase > OpAddress)\
+ return;\
+ else\
+ CPU.PC = CPU.PCBase + OpAddress;\
+ }\
+ }
#else
#define BranchCheck0()
#define BranchCheck1()