Update main.c (#414)

This commit is contained in:
MegaMech
2023-09-11 15:06:59 -06:00
committed by GitHub
parent c85a333a3f
commit a5b7f975d2
+4 -2
View File
@@ -263,8 +263,10 @@ void create_gfx_task_structure(void) {
gGfxSPTask->task.t.flags = OS_TASK_DP_WAIT;
gGfxSPTask->task.t.ucode_boot = rspbootTextStart;
gGfxSPTask->task.t.ucode_boot_size = ((u8 *) rspbootTextEnd - (u8 *) rspbootTextStart);
// Use F3DEX on non-racing states and if there's only one player.
// Otherwise use F3DLX which has a simple subpixel calculation.
// The split-screen multiplayer racing state uses F3DLX which has a simple subpixel calculation.
// Singleplayer race mode and all other game states use F3DEX.
// http://n64devkit.square7.ch/n64man/ucode/gspF3DEX.htm
if (gGamestate != RACING || gPlayerCountSelection1 == 1) {
gGfxSPTask->task.t.ucode = gspF3DEXTextStart;