mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-02-27 03:39:57 +00:00
Fix DVDLowReset spinup flag being read incorrectly
This commit is contained in:
parent
9a8d426645
commit
a73eaf5712
@ -266,7 +266,7 @@ std::optional<DI::DIResult> DI::StartIOCtl(const IOCtlRequest& request)
|
|||||||
return DIResult::Success;
|
return DIResult::Success;
|
||||||
case DIIoctl::DVDLowReset:
|
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");
|
INFO_LOG(IOS_DI, "DVDLowReset %s spinup", spinup ? "with" : "without");
|
||||||
DVDInterface::ResetDrive(spinup);
|
DVDInterface::ResetDrive(spinup);
|
||||||
ResetDIRegisters();
|
ResetDIRegisters();
|
||||||
|
Loading…
x
Reference in New Issue
Block a user