diff options
author | aliaspider | 2014-10-30 05:50:41 +0100 |
---|---|---|
committer | aliaspider | 2014-10-30 05:50:41 +0100 |
commit | 9d26cad1e39af6e4c96a4efb5ae00332207163ca (patch) | |
tree | fdcb68b7a608f80a7747a805988a8ab1b9ba9690 /source/dma.c | |
parent | 452f0d2ac13dd8d69b2dedcc08fd3f8184d749c8 (diff) | |
download | snes9x2005-9d26cad1e39af6e4c96a4efb5ae00332207163ca.tar.gz snes9x2005-9d26cad1e39af6e4c96a4efb5ae00332207163ca.tar.bz2 snes9x2005-9d26cad1e39af6e4c96a4efb5ae00332207163ca.zip |
remove warnings
Diffstat (limited to 'source/dma.c')
-rw-r--r-- | source/dma.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/source/dma.c b/source/dma.c index 78473ff..a5e4a35 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 + 1) == (d->AAddress >> 8)) && (*(p + 2) == (d->AAddress & 0xff)) && (*(p + 3) == (count >> 8)) && (*(p + 4) == (count & 0xff)) && - (*(p + 7) == SDD1Bank)) + (*(p + 7) == SDD1Bank))) { found = TRUE; break; |