From 53da2eca4982cf947d82673784fc551d990eb902 Mon Sep 17 00:00:00 2001 From: LuigiBlood Date: Mon, 12 Aug 2019 13:35:30 +0200 Subject: [PATCH] [Disk] Fix Loading Disks without Disk ID --- Source/Project64-core/N64System/N64DiskClass.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Source/Project64-core/N64System/N64DiskClass.cpp b/Source/Project64-core/N64System/N64DiskClass.cpp index a5eced575..88a347a9c 100644 --- a/Source/Project64-core/N64System/N64DiskClass.cpp +++ b/Source/Project64-core/N64System/N64DiskClass.cpp @@ -74,7 +74,7 @@ bool CN64Disk::LoadDiskImage(const char * FileLoc) { 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 RomName[0] = m_DiskIdent[12];