Skip to content

Commit

Permalink
GameTDB-md5-parser.pl: Fixed an error that broke titles containing am…
Browse files Browse the repository at this point in the history
…persands.

XML::Parser handles XML entities separately, which caused it to
call handle_char_data() multiple times. Solution is to append to
the title instead of replacing it.

gcn_md5.zip: Updated with the latest GameTDB database as of
2016/12/01 09:14 PM EST.
  • Loading branch information
GerbilSoft committed Dec 2, 2016
1 parent 7671f98 commit 32c3f24
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 1 deletion.
Binary file modified nintendont/gcn_md5.zip
Binary file not shown.
2 changes: 1 addition & 1 deletion scripts/GameTDB-md5-parser.pl
Original file line number Diff line number Diff line change
Expand Up @@ -111,7 +111,7 @@ sub handle_char_data {
# Title. (Only if lang='EN'.)
# TODO: Other titles for other regions?
if (defined($lang) && $lang eq 'EN') {
$record->{'title'} = $text;
$record->{'title'} .= $text;
}
}
}
Expand Down

0 comments on commit 32c3f24

Please sign in to comment.