mirror of
https://github.com/Fledge68/WiiFlow_Lite.git
synced 2024-11-23 19:59:16 +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,9 +680,12 @@ 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));
|
||||||
|
|
||||||
WDVD_Init();
|
if(!nodisc || !m_new_dml)
|
||||||
WDVD_StopMotor();
|
{
|
||||||
WDVD_Close();
|
WDVD_Init();
|
||||||
|
WDVD_StopMotor();
|
||||||
|
WDVD_Close();
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
memcpy((char *)0x80000000, id, 6);
|
memcpy((char *)0x80000000, id, 6);
|
||||||
|
Loading…
Reference in New Issue
Block a user