From 329af1aea340d00932181f04f06b8c1950eee532 Mon Sep 17 00:00:00 2001 From: JosJuice Date: Tue, 23 Dec 2014 13:25:04 +0100 Subject: [PATCH] Always read 0x20 bytes of disc ID --- Source/Core/Core/HW/DVDInterface.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Source/Core/Core/HW/DVDInterface.cpp b/Source/Core/Core/HW/DVDInterface.cpp index 67db2171cc..578b3965ad 100644 --- a/Source/Core/Core/HW/DVDInterface.cpp +++ b/Source/Core/Core/HW/DVDInterface.cpp @@ -690,7 +690,7 @@ DVDCommandResult ExecuteCommand(u32 command_0, u32 command_1, u32 command_2, // Only seems to be used from WII_IPC, not through direct access case DVDLowReadDiskID: INFO_LOG(DVDINTERFACE, "DVDLowReadDiskID"); - result = ExecuteReadCommand(0, output_address, command_1, output_length, true); + result = ExecuteReadCommand(0, output_address, 0x20, output_length, true); break; // Only seems to be used from WII_IPC, not through direct access @@ -881,7 +881,7 @@ DVDCommandResult ExecuteCommand(u32 command_0, u32 command_1, u32 command_2, case 0x40: // Read DiscID INFO_LOG(DVDINTERFACE, "Read DiscID %08x", Memory::Read_U32(output_address)); - result = ExecuteReadCommand(0, output_address, command_2, output_length); + result = ExecuteReadCommand(0, output_address, 0x20, output_length); break; default: