audio: pass in a channel id to sound commands

This commit is contained in:
yenatch
2013-11-13 12:46:18 -05:00
parent 7c4f12dec9
commit f5ad14d634

View File

@@ -131,7 +131,7 @@ class Channel:
while not done:
cmd = rom[self.address]
class_ = self.get_sound_class(cmd)(address=self.address)
class_ = self.get_sound_class(cmd)(address=self.address, channel=self.channel)
# notetype loses the intensity param on channel 4
if class_.macro_name == 'notetype':