From d2c51ddffa15cdc1f0ae7aa3c089f7241dcafeac Mon Sep 17 00:00:00 2001 From: Christian Semmler Date: Wed, 27 Dec 2023 13:29:57 -0500 Subject: [PATCH] Fixes --- LEGO1/legotexturepresenter.cpp | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) diff --git a/LEGO1/legotexturepresenter.cpp b/LEGO1/legotexturepresenter.cpp index f10b0bdc..6d0cbe8c 100644 --- a/LEGO1/legotexturepresenter.cpp +++ b/LEGO1/legotexturepresenter.cpp @@ -27,11 +27,10 @@ MxResult LegoTexturePresenter::PutData() // FUNCTION: LEGO1 0x1004fcb0 void LegoTexturePresenter::DoneTickle() { - if (this->m_compositePresenter) { - if (this->m_compositePresenter->VTable0x64(2) == 0) { - SetTickleState(TickleState_Idle); - return; - } + if (this->m_compositePresenter && !this->m_compositePresenter->VTable0x64(2)) { + SetTickleState(TickleState_Idle); + return; } + MxMediaPresenter::DoneTickle(); }