zapit.cpp: fix pip for CST

This commit is contained in:
GetAway
2021-03-16 20:43:15 +01:00
parent 98a22dfd9c
commit b0b8e56696
2 changed files with 36 additions and 3 deletions

View File

@@ -124,10 +124,10 @@ int CPipSetup::exec(CMenuTarget* parent, const std::string &)
paint();
uint64_t timeoutEnd = CRCInput::calcTimeoutEnd(g_settings.timing[SNeutrinoSettings::TIMING_MENU]);
#if !HAVE_CST_HARDWARE
if (pipDecoder != NULL)
pipDecoder->ShowPig(1);
#endif
bool loop=true;
while (loop) {
g_RCInput->getMsgAbsoluteTimeout(&msg, &data, &timeoutEnd, true);
@@ -173,9 +173,10 @@ int CPipSetup::exec(CMenuTarget* parent, const std::string &)
void CPipSetup::hide()
{
frameBuffer->Clear();
#if !HAVE_CST_HARDWARE
if (pipDecoder != NULL)
pipDecoder->ShowPig(0);
#endif
}
void CPipSetup::clear()