Skip to content

Commit

Permalink
fix: Failed to parse VRP-GameList.txt
Browse files Browse the repository at this point in the history
  • Loading branch information
glaumar committed Jul 17, 2024
1 parent 27ae26f commit efc4b7c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/vrp_manager.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -192,7 +192,7 @@ bool VrpManager::parseMetadata()
while (!in.atEnd()) {
QString line = in.readLine();
QStringList parts = line.split(';');
if (parts.size() != 6) {
if (parts.size() < 6) {
qDebug() << "Invalid line in VRP-GameList.txt: " << line;
continue;
} else {
Expand Down

0 comments on commit efc4b7c

Please sign in to comment.