rendered paste bodyIndex: macosx/HBDVDDetector.m===================================================================--- macosx/HBDVDDetector.m (revision 1080)+++ macosx/HBDVDDetector.m (working copy)@@ -103,12 +103,19 @@ // Mow let's get the device name GetVolParmsInfoBuffer volumeParms;+ // PBHGetVolParmsSync is deprecated in 10.5, and doesn't exist in carbon 64bit+ #if MAC_OS_X_VERSION_MAX_ALLOWED <= MAC_OS_X_VERSION_10_4 HParamBlockRec pb; pb.ioParam.ioNamePtr = NULL; pb.ioParam.ioVRefNum = volRefNum; pb.ioParam.ioBuffer = (Ptr) &volumeParms; pb.ioParam.ioReqCount = sizeof( volumeParms ); err = PBHGetVolParmsSync( &pb );+ #else+ // Let's use FSGetVolumeParms on 10.5+ err = FSGetVolumeParms ( volRefNum, &volumeParms, sizeof( volumeParms ) );+ #endif+ if( err != noErr ) { return nil;