aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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;