mirror of
https://github.com/crskycode/GARbro.git
synced 2025-01-11 20:39:29 +08:00
(Cyberworks): fixed index filename construction.
This commit is contained in:
parent
2ac291b1d8
commit
df901a3670
@ -79,7 +79,6 @@ namespace GameRes.Formats.Cyberworks
|
|||||||
arc_idx = char.ToUpper (match.Groups["idx"].Value[0]) - '@';
|
arc_idx = char.ToUpper (match.Groups["idx"].Value[0]) - '@';
|
||||||
|
|
||||||
toc_name_builder = new StringBuilder (arc_name);
|
toc_name_builder = new StringBuilder (arc_name);
|
||||||
toc_name_builder.Append (arc_name);
|
|
||||||
var num_pos = match.Groups["id"].Index;
|
var num_pos = match.Groups["id"].Index;
|
||||||
toc_name_builder.Remove (num_pos, match.Groups["id"].Length);
|
toc_name_builder.Remove (num_pos, match.Groups["id"].Length);
|
||||||
toc_name_builder.Insert (num_pos, num-'3');
|
toc_name_builder.Insert (num_pos, num-'3');
|
||||||
|
Loading…
x
Reference in New Issue
Block a user