forked from len0rd/rockbox
Recognize and handle MacPods during autodetection.
Previously MacPods were detected but the mountpoint can't get resolved due to the different partition layout, thus having a MacPod would only detect the Ipod itself but not the mountpoint. Rockbox does not support MacPods, so inform the user as soon as possible. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@24799 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
parent
5998a5507d
commit
7f33b7d9fa
2 changed files with 9 additions and 0 deletions
|
|
@ -616,6 +616,12 @@ void Config::autodetect()
|
|||
if(detector.errdev() == "h10")
|
||||
text = tr("H10 20GB in MTP mode found!\n"
|
||||
"You need to change your player to UMS mode for installation. ");
|
||||
if(SystemInfo::platformValue(detector.errdev(),
|
||||
SystemInfo::CurBootloaderMethod) == "ipod")
|
||||
text = tr("%1 \"MacPod\" found!\n"
|
||||
"Rockbox needs a FAT formatted Ipod (so-called \"WinPod\") "
|
||||
"to run. ").arg(SystemInfo::platformValue(
|
||||
detector.errdev(), SystemInfo::CurName).toString());
|
||||
text += tr("Unless you changed this installation will fail!");
|
||||
|
||||
QMessageBox::critical(this, tr("Fatal error"), text, QMessageBox::Ok);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue