From 4d624946d6a48b4e5f34f0fc03887555be45cce2 Mon Sep 17 00:00:00 2001 From: Connor McLaughlin Date: Wed, 18 Sep 2019 15:24:29 +1000 Subject: [PATCH] GPU: Texpage attribute can change texture mode too --- src/pse/gpu.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/src/pse/gpu.cpp b/src/pse/gpu.cpp index 598eddc21..c227cf080 100644 --- a/src/pse/gpu.cpp +++ b/src/pse/gpu.cpp @@ -758,6 +758,7 @@ void GPU::TextureConfig::SetFromPageAttribute(u16 value) base_x = static_cast(ZeroExtend32(value & UINT16_C(0x0F)) * UINT32_C(64)); base_y = static_cast(ZeroExtend32((value >> 11) & UINT16_C(1)) * UINT32_C(512)); + SetColorMode(static_cast((value >> 7) & UINT16_C(0x03))); page_attribute = value; page_changed = true; }