mirror of
https://github.com/vgmstream/vgmstream.git
synced 2025-01-17 23:36:41 +01:00
Fix TXTP upper ranges
This commit is contained in:
parent
311eeebc1b
commit
776d85fee0
@ -238,7 +238,7 @@ static int add_filename(txtp_header * txtp, char *filename) {
|
||||
if (sscanf(config, "%d~%d", &subsong_start, &subsong_end) == 2) {
|
||||
if (subsong_start > 0 && subsong_end > 0) {
|
||||
range_start = subsong_start-1;
|
||||
range_end = subsong_end-1;
|
||||
range_end = subsong_end;
|
||||
}
|
||||
}
|
||||
else if (sscanf(config, "%u", &subsong_start) == 1) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user