aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJoão Silva2017-01-14 23:50:50 +0000
committerJoão Silva2017-01-14 23:50:50 +0000
commitda9ed2562ca88eb02a885f356922e64d556b27a7 (patch)
tree829bb00ead380ea3343d568c9623d0243ee47112
parent3b8323853f4eeddb61398e77c51bb2349f430227 (diff)
downloadsnesemu-da9ed2562ca88eb02a885f356922e64d556b27a7.tar.gz
snesemu-da9ed2562ca88eb02a885f356922e64d556b27a7.tar.bz2
snesemu-da9ed2562ca88eb02a885f356922e64d556b27a7.zip
Removed some more useless stuff.
-rw-r--r--source/clip.c3
-rw-r--r--source/memmap.c3
-rw-r--r--source/ppu.c1
3 files changed, 1 insertions, 6 deletions
diff --git a/source/clip.c b/source/clip.c
index 94ecbd6..8993e72 100644
--- a/source/clip.c
+++ b/source/clip.c
@@ -665,8 +665,7 @@ void ComputeClipWindows()
// no intersection, nullify it
pClip->Left[i][w] = 1;
pClip->Right[i][w] = 0;
-Clip_ok:
- j = 0; // dummy statement
+Clip_ok:;
}
}
}
diff --git a/source/memmap.c b/source/memmap.c
index a24b2cd..a91f68e 100644
--- a/source/memmap.c
+++ b/source/memmap.c
@@ -884,9 +884,6 @@ again:
TotalFileSize -= 512;
S9xMessage(S9X_INFO, S9X_HEADER_WARNING,
"Try specifying the -nhd command line option if the game doesn't work\n");
- //modifying ROM, so we need to rescore
- hi_score = ScoreHiROM(false, 0);
- lo_score = ScoreLoROM(false, 0);
}
Memory.CalculatedSize = TotalFileSize & ~0x1FFF; // round down to lower 0x2000
diff --git a/source/ppu.c b/source/ppu.c
index 8d66685..2d38c94 100644
--- a/source/ppu.c
+++ b/source/ppu.c
@@ -313,7 +313,6 @@ void S9xSetPPU(uint8_t Byte, uint16_t Address)
//share a previous byte value for setting them.
case 0x210D:
- //TEST9 if(last_written != 0x210d) PPU.BGnxOFSbyte = 0;
PPU.BG[0].HOffset = (Byte << 8) | PPU.BGnxOFSbyte;
PPU.BGnxOFSbyte = Byte;
break;