[Disk] Fix Loading Disks without Disk ID
This commit is contained in:
parent
c8947e93ea
commit
53da2eca49
|
@ -74,7 +74,7 @@ bool CN64Disk::LoadDiskImage(const char * FileLoc)
|
||||||
{
|
{
|
||||||
crc += *(uint32_t *)(m_DiskImage + i);
|
crc += *(uint32_t *)(m_DiskImage + i);
|
||||||
}
|
}
|
||||||
m_DiskIdent.Format("%08X-%08X-C:%X", *(uint32_t *)(GetDiskAddressSys()[0]), crc, GetDiskAddressID()[0]);
|
m_DiskIdent.Format("%08X-%08X-C:%X", *(uint32_t *)(&GetDiskAddressSys()[0]), crc, GetDiskAddressID()[0]);
|
||||||
|
|
||||||
//Get the disk ID from the disk image
|
//Get the disk ID from the disk image
|
||||||
RomName[0] = m_DiskIdent[12];
|
RomName[0] = m_DiskIdent[12];
|
||||||
|
|
Loading…
Reference in New Issue