From 5d8885b91674cdec1348f906bbd171e4f8aa4cf5 Mon Sep 17 00:00:00 2001 From: twinaphex Date: Tue, 9 Dec 2014 14:02:54 +0100 Subject: [PATCH] Simplify DoLine --- src/ppu.c | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/src/ppu.c b/src/ppu.c index 89fc1a6..b0c0382 100644 --- a/src/ppu.c +++ b/src/ppu.c @@ -698,15 +698,13 @@ static void DoLine(void) { if (ScreenON || SpriteON) FetchSpriteData(); + X6502_Run(6); + Fixit2(); if (GameHBIRQHook && (ScreenON || SpriteON) && ((PPU[0] & 0x38) != 0x18)) { - X6502_Run(6); - Fixit2(); X6502_Run(4); GameHBIRQHook(); X6502_Run(85 - 16 - 10); } else { - X6502_Run(6); // Tried 65, caused problems with Slalom(maybe others) - Fixit2(); X6502_Run(85 - 6 - 16); // A semi-hack for Star Trek: 25th Anniversary