diff options
author | Stanislaw Halik <sthalik@misaki.pl> | 2013-07-04 21:02:29 +0200 |
---|---|---|
committer | Stanislaw Halik <sthalik@misaki.pl> | 2013-07-04 21:02:29 +0200 |
commit | 2b7252c20154628a463efe6f1fa640ac9be9262e (patch) | |
tree | df6240ac5b7df419b961de631189007a647bcbef /ftnoir_csv/csv.cpp | |
parent | 909886d1371f6c50421b0ab32ef27b370b6a77c5 (diff) |
Remove non-working compatibility shim code
Diffstat (limited to 'ftnoir_csv/csv.cpp')
-rw-r--r-- | ftnoir_csv/csv.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/ftnoir_csv/csv.cpp b/ftnoir_csv/csv.cpp index 2b90788f..26b675fc 100644 --- a/ftnoir_csv/csv.cpp +++ b/ftnoir_csv/csv.cpp @@ -102,8 +102,10 @@ QStringList CSV::parseLine(QString line){ return list; } -void CSV::getGameData( const QString& gameID, bool& tirviews, bool& dummy, unsigned char* table, QString& gamename) +void CSV::getGameData( const int id, unsigned char* table, QString& gamename) { + QString gameID = QString::number(id); + /* zero table first, in case unknown game is connecting */ memset(table, 0, 8); QStringList gameLine; @@ -162,8 +164,6 @@ void CSV::getGameData( const QString& gameID, bool& tirviews, bool& dummy, unsig table[i] = tmp[i]; qDebug() << gameID << "game-id" << gameLine.at(7); gamename = gameLine.at(1); - dummy = fuzz[1] & 0xf; - tirviews = fuzz[1] & 0xf0; file.close(); return; } |