From a73eaf5712f7b74b8c9dbd35981210ec29c8a302 Mon Sep 17 00:00:00 2001 From: Pokechu22 Date: Sun, 12 Apr 2020 22:28:22 -0700 Subject: [PATCH] Fix DVDLowReset spinup flag being read incorrectly --- Source/Core/Core/IOS/DI/DI.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Source/Core/Core/IOS/DI/DI.cpp b/Source/Core/Core/IOS/DI/DI.cpp index a56b5e27e0..308d076543 100644 --- a/Source/Core/Core/IOS/DI/DI.cpp +++ b/Source/Core/Core/IOS/DI/DI.cpp @@ -266,7 +266,7 @@ std::optional DI::StartIOCtl(const IOCtlRequest& request) return DIResult::Success; case DIIoctl::DVDLowReset: { - const bool spinup = Memory::Read_U32(request.address + 4); + const bool spinup = Memory::Read_U32(request.buffer_in + 4); INFO_LOG(IOS_DI, "DVDLowReset %s spinup", spinup ? "with" : "without"); DVDInterface::ResetDrive(spinup); ResetDIRegisters();