PBXGetVolInfoSync is deprecated but there are something like 15 different functions with different prefixes that all do about the same thing. For now, just mark it as deprecated until I can figure out which I should be using.
This commit is contained in:
@@ -209,7 +209,7 @@ void MemoryCardDriverThreaded_OSX::GetUSBStorageDevices( vector<UsbStorageDevice
|
|||||||
* param.ioVTotalBytes,
|
* param.ioVTotalBytes,
|
||||||
* IORegistryEntryCreateCFProperty( entry, CFSTR(kIOMediaSizeKey), NULL, 0 ),
|
* IORegistryEntryCreateCFProperty( entry, CFSTR(kIOMediaSizeKey), NULL, 0 ),
|
||||||
* or fs[i].f_blocks * fs[i].f_bsize, however, we released entry already. */
|
* or fs[i].f_blocks * fs[i].f_bsize, however, we released entry already. */
|
||||||
|
// XXX PBXGetVolInfoSync is apparently deprecated.
|
||||||
if( PBXGetVolInfoSync(¶m) == noErr )
|
if( PBXGetVolInfoSync(¶m) == noErr )
|
||||||
{
|
{
|
||||||
usbd.iRefNum = param.ioVRefNum;
|
usbd.iRefNum = param.ioVRefNum;
|
||||||
|
|||||||
Reference in New Issue
Block a user