summaryrefslogtreecommitdiffhomepage
path: root/ftnoir_csv/csv.cpp
diff options
context:
space:
mode:
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;
}