summaryrefslogtreecommitdiffstats
path: root/rbutil/rbutilqt/base/autodetection.cpp
diff options
context:
space:
mode:
authorDominik Riebeling <Dominik.Riebeling@gmail.com>2009-12-15 21:10:32 +0000
committerDominik Riebeling <Dominik.Riebeling@gmail.com>2009-12-15 21:10:32 +0000
commitbd62c853d42efc84f0e680c02226fba7c6a455d7 (patch)
tree56edc7bbba3da176b9552680f23667e29210fbad /rbutil/rbutilqt/base/autodetection.cpp
parent619ca6197664a93513146dca1164dc186e737c6d (diff)
downloadrockbox-bd62c853d42efc84f0e680c02226fba7c6a455d7.tar.gz
rockbox-bd62c853d42efc84f0e680c02226fba7c6a455d7.tar.bz2
rockbox-bd62c853d42efc84f0e680c02226fba7c6a455d7.zip
Fix Ipod Video 64MB workaround for rockbox-info.txt detection.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@24013 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'rbutil/rbutilqt/base/autodetection.cpp')
-rw-r--r--rbutil/rbutilqt/base/autodetection.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/rbutil/rbutilqt/base/autodetection.cpp b/rbutil/rbutilqt/base/autodetection.cpp
index e6bfc440a7..c7ddcab662 100644
--- a/rbutil/rbutilqt/base/autodetection.cpp
+++ b/rbutil/rbutilqt/base/autodetection.cpp
@@ -98,7 +98,7 @@ bool Autodetection::detect()
m_device = info.target();
// special case for video64mb. This is a workaround, and
// should get replaced when autodetection is reworked.
- if(m_device == "ipodvideo" || info.ram() == 64)
+ if(m_device == "ipodvideo" && info.ram() == 64)
{
m_device = "ipodvideo64mb";
}