Skip to content

Commit

Permalink
fix yellow line bug in Sonic 2 Special Stages
Browse files Browse the repository at this point in the history
i think this is what is done in the mobile port, same with Origins afaik.
  • Loading branch information
LittlePlanetCD committed Apr 7, 2024
1 parent b78db1b commit dd2e45e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion RSDKv4/Drawing.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -4344,7 +4344,7 @@ void DrawTexturedFaceBlended(void *v, byte sheetID)
}
ushort *fbPtr = &frameBufferPtr[startX];
frameBufferPtr += GFX_LINESIZE;
int counter = posDifference + 1;
int counter = posDifference;
while (counter--) {
if (UPos < 0)
UPos = 0;
Expand Down

0 comments on commit dd2e45e

Please sign in to comment.