[Disk] Fix Loading Disks without Disk ID

This commit is contained in:
LuigiBlood 2019-08-12 13:35:30 +02:00
parent c8947e93ea
commit 53da2eca49
1 changed files with 1 additions and 1 deletions

View File

@ -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];