mirror of
https://github.com/Fledge68/WiiFlow_Lite.git
synced 2024-12-26 20:01:55 +01:00
-moved screen clearing to a safer place, should have tested it
harder before commiting :P
This commit is contained in:
parent
4c4224c49d
commit
8ad310f4dc
@ -494,7 +494,6 @@ void CVideo::_showWaitMessages(CVideo *m)
|
|||||||
|
|
||||||
vector<STexture>::iterator waitItr = m->m_waitMessages.begin();
|
vector<STexture>::iterator waitItr = m->m_waitMessages.begin();
|
||||||
gprintf("Going to show a wait message screen, delay: %d, # images: %d\n", waitFrames, m->m_waitMessages.size());
|
gprintf("Going to show a wait message screen, delay: %d, # images: %d\n", waitFrames, m->m_waitMessages.size());
|
||||||
m->_clearScreen();
|
|
||||||
|
|
||||||
m->waitMessage(*waitItr);
|
m->waitMessage(*waitItr);
|
||||||
waitItr += PNGfadeDirection;
|
waitItr += PNGfadeDirection;
|
||||||
@ -599,6 +598,7 @@ void CVideo::waitMessage(const vector<STexture> &tex, float delay, bool useWiiLi
|
|||||||
m_waitMessages = tex;
|
m_waitMessages = tex;
|
||||||
m_waitMessageDelay = delay;
|
m_waitMessageDelay = delay;
|
||||||
}
|
}
|
||||||
|
_clearScreen();
|
||||||
|
|
||||||
if (m_waitMessages.size() == 1)
|
if (m_waitMessages.size() == 1)
|
||||||
waitMessage(m_waitMessages[0]);
|
waitMessage(m_waitMessages[0]);
|
||||||
|
Loading…
Reference in New Issue
Block a user