From 4caed1318e6e42d5150d2f461865c7798258dc9d Mon Sep 17 00:00:00 2001 From: VDm Date: Thu, 1 May 2025 02:12:18 +0400 Subject: [PATCH] fix(ui): use workaround to update movie textures --- src/ui/CSimpleMovieFrame.cpp | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/ui/CSimpleMovieFrame.cpp b/src/ui/CSimpleMovieFrame.cpp index fc907d4..e071c24 100644 --- a/src/ui/CSimpleMovieFrame.cpp +++ b/src/ui/CSimpleMovieFrame.cpp @@ -642,6 +642,8 @@ int32_t CSimpleMovieFrame::DecodeFrame(bool update) { for (uint32_t i = 0; i < textureCountByFormat[this->m_textureFormat]; ++i) { uint32_t v9 = 4 * (i + 6 * this->m_textureFormat); + // WARNING(workaround): Uncomment the code below when GxTexUpdate will be working properly + /* GxTexUpdate( this->m_textures[i], s_movieTextureUpdate[v9 + 0], @@ -649,6 +651,8 @@ int32_t CSimpleMovieFrame::DecodeFrame(bool update) { s_movieTextureUpdate[v9 + 2], s_movieTextureUpdate[v9 + 3], 1); + */ + GxTexUpdate(this->m_textures[i], 0, 0, 0, 0, 1); } return 1;