mirror of
https://github.com/PrimeDecomp/prime.git
synced 2025-08-06 08:55:36 +00:00
Use sizeof on DVDDriveInfo
Former-commit-id: 1e5c3990ea343e193700ce9afe4525af6ed07fd7
This commit is contained in:
parent
093d1550fd
commit
126fd409ed
@ -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;
|
||||
|
Loading…
x
Reference in New Issue
Block a user