-rw-r--r-- | libopie2/opiecore/device/odevice_simpad.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libopie2/opiecore/device/odevice_simpad.cpp b/libopie2/opiecore/device/odevice_simpad.cpp index 2e54216..d6c2c80 100644 --- a/libopie2/opiecore/device/odevice_simpad.cpp +++ b/libopie2/opiecore/device/odevice_simpad.cpp @@ -230,7 +230,7 @@ static bool setCS3Bit( bool bitset, int bit ) { while ( !stream.atEnd() ) { QString line = stream.readLine(); if ( line.startsWith( "Chipselect3 : " ) ) { - val = line.mid( 15 ).toUInt( 0, 16 ); + val = line.mid( 14 ).toUInt( 0, 16 ); ok = true; break; } |