From da9ed2562ca88eb02a885f356922e64d556b27a7 Mon Sep 17 00:00:00 2001 From: João Silva Date: Sat, 14 Jan 2017 23:50:50 +0000 Subject: Removed some more useless stuff. --- source/clip.c | 3 +-- source/memmap.c | 3 --- source/ppu.c | 1 - 3 files changed, 1 insertion(+), 6 deletions(-) (limited to 'source') 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; -- cgit v1.2.3