# | Line 326 | Line 326 | int16 DiskPrime(uint32 pb, uint32 dce) | |
---|---|---|
326 | size_t length = ReadMacInt32(pb + ioReqCount); | |
327 | loff_t position = ReadMacInt32(dce + dCtlPosition); | |
328 | if (ReadMacInt16(pb + ioPosMode) & 0x100) // 64 bit positioning | |
329 | < | position = ((loff_t)ReadMacInt32(pb + ioWPosOffset) << 32) || ReadMacInt32(pb + ioWPosOffset + 4); |
329 | > | position = ((loff_t)ReadMacInt32(pb + ioWPosOffset) << 32) | ReadMacInt32(pb + ioWPosOffset + 4); |
330 | if ((length & 0x1ff) || (position & 0x1ff)) | |
331 | return paramErr; | |
332 |
– | Removed lines |
+ | Added lines |
< | Changed lines |
> | Changed lines |