summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAda <60364512+GreatArgorath@users.noreply.github.com>2022-08-17 13:20:15 +0100
committerAda <60364512+GreatArgorath@users.noreply.github.com>2022-08-17 13:20:15 +0100
commit4a2d9d8a4c0474c12e300ced2088fa77eea0eff0 (patch)
treebfb57f51ca74ddf661d284b40641bb06a5543f3e
parent6206cd7db004ca8e6a9afa1150e539ad28ea0f89 (diff)
Fixes ToT Fog
-rw-r--r--libultraship/libultraship/Lib/Fast3D/gfx_pc.cpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/libultraship/libultraship/Lib/Fast3D/gfx_pc.cpp b/libultraship/libultraship/Lib/Fast3D/gfx_pc.cpp
index e5c041f17..92ab826a9 100644
--- a/libultraship/libultraship/Lib/Fast3D/gfx_pc.cpp
+++ b/libultraship/libultraship/Lib/Fast3D/gfx_pc.cpp
@@ -2112,6 +2112,10 @@ static void gfx_run_dl(Gfx* cmd) {
switch (opcode) {
// RSP commands:
+ case G_LOAD_UCODE:
+ rsp.fog_mul = 0;
+ rsp.fog_offset = 0;
+ break;
case G_MARKER:
{
cmd++;