mirror of
https://github.com/vgmstream/vgmstream.git
synced 2024-11-13 18:20:50 +01:00
Add "-" channel mask separator in TXTP for some shells
This commit is contained in:
parent
ab2cecf92d
commit
fdaba703d6
@ -176,7 +176,7 @@ static int add_filename(txtp_header * txtp, char *filename) {
|
||||
channel_mask |= (1 << (ch-1));
|
||||
|
||||
config += n;
|
||||
if (config[0]== ',')
|
||||
if (config[0]== ',' || config[0]== '-') /* "-" for PowerShell, may have problems with "," */
|
||||
config++;
|
||||
else if (config[0] != '\0')
|
||||
break;
|
||||
|
Loading…
Reference in New Issue
Block a user