Skip to content

Commit

Permalink
Fix a typo in the parsing regex.
Browse files Browse the repository at this point in the history
In the pattern for the delimiter sequence one
of the null bytes was missing the \x backslash modifier,
turning it from \x00 to \00. The regex as a whole still seems
to have worked, though, which is why this could go unnoticed for
so long.
  • Loading branch information
Van-Ziegelstein committed Aug 25, 2018
1 parent 25cbe6d commit 6639fb6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion shadow_tune.pl
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ sub find_game_resources {

sub asset_dump {

my $delimiter = qr/\x00*\x02\x00{3}\x0E\00{7}\x02\x00{3}/;
my $delimiter = qr/\x00*\x02\x00{3}\x0E\x00{7}\x02\x00{3}/;
my ($op_params, $assets_content, $sound_meta_start) = @_;
my @track_list;

Expand Down

0 comments on commit 6639fb6

Please sign in to comment.