+ #ifdef FRAMESKIP
+ else if(FSkip)
+ {
+ int y;
+
+ y=SPRAM[0];
+ y++;
+
+ PPU_status|=0x20; // Fixes "Bee 52". Does it break anything?
+ if(GameHBIRQHook)
+ {
+ X6502_Run(256);
+ for(scanline=0;scanline<240;scanline++)
+ {
+ if(ScreenON || SpriteON)
+ GameHBIRQHook();
+ if(scanline==y && SpriteON) PPU_status|=0x40;
+ X6502_Run((scanline==239)?85:(256+85));
+ ResetRL(); // ??
+ }
+ }
+ else if(y<240)
+ {
+ X6502_Run((256+85)*y);
+ if(SpriteON) PPU_status|=0x40; // Quick and very dirty hack.
+ X6502_Run((256+85)*(240-y));
+ }
+ else
+ X6502_Run((256+85)*240);
+ }
+ #endif