Use sizeof on DVDDriveInfo

Former-commit-id: 1e5c3990ea
This commit is contained in:
Phillip Stephens 2023-02-07 05:17:01 -08:00
parent 093d1550fd
commit 126fd409ed
1 changed files with 2 additions and 2 deletions

View File

@ -358,9 +358,9 @@ BOOL DVDLowInquiry(DVDDriveInfo* info, DVDLowCallback callback) {
StopAtNextInt = FALSE;
Callback = callback;
__DIRegs[2] = 0x12000000;
__DIRegs[4] = 32; // sizeof(DVDDriveInfo);
__DIRegs[4] = sizeof(DVDDriveInfo);
__DIRegs[5] = (u32)info;
__DIRegs[6] = 32; // sizeof(DVDDriveInfo);
__DIRegs[6] = sizeof(DVDDriveInfo);
__DIRegs[7] = 3;
SetTimeoutAlarm(OSSecondsToTicks(10));
return TRUE;