MCPcopy Create free account
hub / github.com/PCSX2/pcsx2 / cdvdDetectDisk

Function cdvdDetectDisk

pcsx2/CDVD/CDVD.cpp:703–713  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

701}
702
703static void cdvdDetectDisk()
704{
705 cdvd.DiscType = DoCDVDdetectDiskType();
706
707 if (cdvd.DiscType != 0)
708 {
709 cdvdTD td;
710 CDVD->getTD(0, &td);
711 cdvd.MaxSector = td.lsn;
712 }
713}
714
715static void cdvdUpdateStatus(cdvdStatus NewStatus) noexcept
716{

Callers 3

cdvdCtrlTrayOpenFunction · 0.85
cdvdCtrlTrayCloseFunction · 0.85
cdvdNewDiskCBFunction · 0.85

Calls 1

DoCDVDdetectDiskTypeFunction · 0.85

Tested by

no test coverage detected