mirror of
https://github.com/melonDS-emu/melonDS.git
synced 2025-07-16 02:40:06 -06:00
* actually fix linear interpolation when y0>y1
* change the backfacing attribute bit, so that it doesn't mess with edgemarking
This commit is contained in:
@ -849,7 +849,7 @@ void SubmitPolygon()
|
||||
}
|
||||
|
||||
u32 w = (u32)vtx->Position[3];
|
||||
while (w >> wsize)
|
||||
while ((w >> wsize) && (wsize < 32))
|
||||
wsize += 4;
|
||||
}
|
||||
|
||||
@ -1264,6 +1264,9 @@ void ExecuteCommand()
|
||||
|
||||
if (ExecParamCount >= CmdNumParams[entry.Command])
|
||||
{
|
||||
/*printf("0x%02X, ", entry.Command);
|
||||
for (int k = 0; k < ExecParamCount; k++) printf("0x%08X, ", ExecParams[k]);
|
||||
printf("\n");*/
|
||||
CycleCount += CmdNumCycles[entry.Command];
|
||||
ExecParamCount = 0;
|
||||
|
||||
|
Reference in New Issue
Block a user