Fix DVDLowReset spinup flag being read incorrectly

This commit is contained in:
Pokechu22
2020-07-29 16:57:35 -07:00
parent 9a8d426645
commit a73eaf5712
+1 -1
View File
@@ -266,7 +266,7 @@ std::optional<DI::DIResult> 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();