mirror of
https://github.com/vgmstream/vgmstream.git
synced 2024-11-14 18:47:39 +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));
|
channel_mask |= (1 << (ch-1));
|
||||||
|
|
||||||
config += n;
|
config += n;
|
||||||
if (config[0]== ',')
|
if (config[0]== ',' || config[0]== '-') /* "-" for PowerShell, may have problems with "," */
|
||||||
config++;
|
config++;
|
||||||
else if (config[0] != '\0')
|
else if (config[0] != '\0')
|
||||||
break;
|
break;
|
||||||
|
Loading…
Reference in New Issue
Block a user