mirror of
https://github.com/Fledge68/WiiFlow_Lite.git
synced 2024-11-24 04:09:15 +01:00
-only do something with the disc drive on DML game launch
if the no disc patch is disabled
This commit is contained in:
parent
29ae0f2718
commit
b4557e9f45
@ -680,10 +680,13 @@ void CMenu::_launchGC(dir_discHdr *hdr, bool DML)
|
|||||||
m_gcfg1.setInt("PLAYCOUNT", id, m_gcfg1.getInt("PLAYCOUNT", id, 0) + 1);
|
m_gcfg1.setInt("PLAYCOUNT", id, m_gcfg1.getInt("PLAYCOUNT", id, 0) + 1);
|
||||||
m_gcfg1.setUInt("LASTPLAYED", id, time(NULL));
|
m_gcfg1.setUInt("LASTPLAYED", id, time(NULL));
|
||||||
|
|
||||||
|
if(!nodisc || !m_new_dml)
|
||||||
|
{
|
||||||
WDVD_Init();
|
WDVD_Init();
|
||||||
WDVD_StopMotor();
|
WDVD_StopMotor();
|
||||||
WDVD_Close();
|
WDVD_Close();
|
||||||
}
|
}
|
||||||
|
}
|
||||||
|
|
||||||
memcpy((char *)0x80000000, id, 6);
|
memcpy((char *)0x80000000, id, 6);
|
||||||
if(((id[3] == 'P') && (DMLvideoMode == 0)) || (DMLvideoMode == 1))
|
if(((id[3] == 'P') && (DMLvideoMode == 0)) || (DMLvideoMode == 1))
|
||||||
|
Loading…
Reference in New Issue
Block a user