- disable splash image and wait animation if direct launching a wii game (wiiGSC).

This commit is contained in:
Fledge68 2022-02-18 17:50:51 -06:00
parent e1d24b2c82
commit ef1f601e9b
3 changed files with 8 additions and 4 deletions

Binary file not shown.

Before

Width:  |  Height:  |  Size: 4.4 MiB

After

Width:  |  Height:  |  Size: 4.4 MiB

View File

@ -129,7 +129,7 @@ int main(int argc, char **argv)
} }
/* Init video */ /* Init video */
m_vid.init(); m_vid.init();
if(showFlashImg) if(showFlashImg && gameid == NULL)// dont show if autobooting a wii game.
m_vid.startImage(); m_vid.startImage();
/* check if WiiVC */ /* check if WiiVC */
@ -200,8 +200,11 @@ int main(int argc, char **argv)
bool usb_mounted = DeviceHandle.MountAllUSB();// only mounts any USB if isUsingUSB() bool usb_mounted = DeviceHandle.MountAllUSB();// only mounts any USB if isUsingUSB()
/* init wait images and show wait animation */ /* init wait images and show wait animation */
m_vid.setCustomWaitImgs(wait_dir, wait_loop); if(gameid == NULL)// dont show if autobooting a wii game.
m_vid.waitMessage(0.15f); {
m_vid.setCustomWaitImgs(wait_dir, wait_loop);
m_vid.waitMessage(0.15f);
}
/* init controllers for input */ /* init controllers for input */
Open_Inputs();// WPAD_SetVRes() is called later in mainMenu.init() during cursor init which gets the theme pointer images Open_Inputs();// WPAD_SetVRes() is called later in mainMenu.init() during cursor init which gets the theme pointer images

View File

@ -98,7 +98,8 @@ void CMenu::directlaunch(const char *GameID)// from boot arg for wii game only
void CMenu::_launchShutdown() void CMenu::_launchShutdown()
{ {
CoverFlow.clear(); CoverFlow.clear();
_showWaitMessage(); if(!m_directLaunch)
_showWaitMessage();
exitHandler(PRIILOADER_DEF); //Making wiiflow ready to boot something exitHandler(PRIILOADER_DEF); //Making wiiflow ready to boot something
} }