Merge pull request #638 from slashiee/txtp_maker

txtp_maker: Update get_stream_mask to work with latest vgmstream
This commit is contained in:
bnnm 2020-06-01 17:32:29 +02:00 committed by GitHub
commit 09c2deb04e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -330,12 +330,12 @@ class TxtpMaker(object):
def get_stream_mask(self, layer):
cfg = self.cfg
mask = '#c'
mask = '#C'
loops = cfg.layers
loops = cfg.layers + 1
if layer + cfg.layers > self.channels:
loops = self.channels - cfg.layers
for ch in range(0,loops):
for ch in range(1,loops):
mask += str(layer+ch) + ','
mask = mask[:-1]