mirror of
https://github.com/iDescriptor/iDescriptor.git
synced 2026-06-22 03:45:51 +08:00
bug fixes & replace idevice_get_device_version with get_device_version
This commit is contained in:
@@ -188,7 +188,7 @@ void DevDiskImagesWidget::displayImages()
|
||||
// todo wtf is this
|
||||
if (m_currentDevice && m_currentDevice->device) {
|
||||
unsigned int device_version =
|
||||
idevice_get_device_version(m_currentDevice->device);
|
||||
get_device_version(m_currentDevice->device);
|
||||
deviceMajorVersion = (device_version >> 16) & 0xFF;
|
||||
deviceMinorVersion = (device_version >> 8) & 0xFF;
|
||||
hasConnectedDevice = true;
|
||||
|
||||
Reference in New Issue
Block a user