aboutsummaryrefslogtreecommitdiff
path: root/source
diff options
context:
space:
mode:
authortwinaphex2014-10-30 04:46:50 +0100
committertwinaphex2014-10-30 04:46:50 +0100
commit452f0d2ac13dd8d69b2dedcc08fd3f8184d749c8 (patch)
tree94feb5c6e909973dce6f7b303156402797ea5560 /source
parent4de9deed290c6b0ff42768e8b271b5ad08f62ea9 (diff)
downloadsnesemu-452f0d2ac13dd8d69b2dedcc08fd3f8184d749c8.tar.gz
snesemu-452f0d2ac13dd8d69b2dedcc08fd3f8184d749c8.tar.bz2
snesemu-452f0d2ac13dd8d69b2dedcc08fd3f8184d749c8.zip
Silence warning 'Suggest explicit braces around && within '||' yadda yadda
Diffstat (limited to 'source')
-rw-r--r--source/dma.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/source/dma.c b/source/dma.c
index 31814b2..78473ff 100644
--- a/source/dma.c
+++ b/source/dma.c
@@ -261,11 +261,11 @@ void S9xDoDMA(uint8 Channel)
for (i = 0; i < Memory.SDD1LoggedDataCount; i++, p += 8)
{
if (*p == d->ABank ||
- *(p + 1) == (d->AAddress >> 8) &&
- *(p + 2) == (d->AAddress & 0xff) &&
- *(p + 3) == (count >> 8) &&
- *(p + 4) == (count & 0xff) &&
- *(p + 7) == SDD1Bank)
+ (*(p + 1) == (d->AAddress >> 8)) &&
+ (*(p + 2) == (d->AAddress & 0xff)) &&
+ (*(p + 3) == (count >> 8)) &&
+ (*(p + 4) == (count & 0xff)) &&
+ (*(p + 7) == SDD1Bank))
{
found = TRUE;
break;