mirror of
https://github.com/libretro/beetle-wswan-libretro.git
synced 2024-11-23 07:59:40 +00:00
wsExecuteLine - cleanup
This commit is contained in:
parent
b631efbf08
commit
22d007d9ed
@ -212,7 +212,7 @@ bool wsExecuteLine(MDFN_Surface *surface, bool skip)
|
||||
memcpy(SpriteTable[!FrameWhichActive], &wsRAM[(SPRBase << 9) + (SpriteStart << 2)], SpriteCountCache[!FrameWhichActive] << 2);
|
||||
}
|
||||
|
||||
if(wsLine == 144)
|
||||
else if(wsLine == 144)
|
||||
{
|
||||
FrameWhichActive = !FrameWhichActive;
|
||||
ret = true;
|
||||
@ -254,10 +254,7 @@ bool wsExecuteLine(MDFN_Surface *surface, bool skip)
|
||||
v30mz_execute(96);
|
||||
wsLine = (wsLine + 1) % (MAX(144, LCDVtotal) + 1);
|
||||
if(wsLine == LineCompare)
|
||||
{
|
||||
WSwan_Interrupt(WSINT_LINE_HIT);
|
||||
//printf("Line hit: %d\n", wsLine);
|
||||
}
|
||||
|
||||
v30mz_execute(32);
|
||||
WSwan_RTCClock(256);
|
||||
|
Loading…
Reference in New Issue
Block a user