From 8ebb316e3435f09aa988fadaa30c83b58e89c340 Mon Sep 17 00:00:00 2001 From: Frank-74 Date: Sat, 29 Jul 2017 17:11:20 +0100 Subject: [PATCH] Fix #1340 black sky in OoT --- Source/Project64-video/TexCache.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Source/Project64-video/TexCache.cpp b/Source/Project64-video/TexCache.cpp index 05d4ec06f..de250a605 100644 --- a/Source/Project64-video/TexCache.cpp +++ b/Source/Project64-video/TexCache.cpp @@ -511,7 +511,7 @@ void TexCache() else // T1 not found tmu_1 = GFX_TMU0; - tmu_0 = tmu_1 == GFX_TMU0 ? GFX_TMU0 : GFX_TMU1; + tmu_0 = tmu_1 == GFX_TMU0 ? GFX_TMU1 : GFX_TMU0; tmu_0_mode = (tmu_0 == 1) ? TMUMODE_NONE : TMUMODE_PASSTHRU; } else if (rdp.tex == 1) // T0