summaryrefslogtreecommitdiffhomepage
path: root/ftnoir_csv/csv.cpp
diff options
context:
space:
mode:
authorStanislaw Halik <sthalik@misaki.pl>2013-07-04 21:02:29 +0200
committerStanislaw Halik <sthalik@misaki.pl>2013-07-04 21:02:29 +0200
commit2b7252c20154628a463efe6f1fa640ac9be9262e (patch)
treedf6240ac5b7df419b961de631189007a647bcbef /ftnoir_csv/csv.cpp
parent909886d1371f6c50421b0ab32ef27b370b6a77c5 (diff)
Remove non-working compatibility shim code
Diffstat (limited to 'ftnoir_csv/csv.cpp')
-rw-r--r--ftnoir_csv/csv.cpp6
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;
}