mirror of
https://github.com/holub/mame
synced 2025-04-26 10:13:37 +03:00
* sid.cpp: Fix issue #6798 * sid.cpp: Constant here
This commit is contained in:
parent
5dfa023808
commit
08d6dfd88e
@ -209,7 +209,7 @@ void SID6581_t::init()
|
||||
{
|
||||
optr[v].sid = this;
|
||||
|
||||
int mod_voi = (v - 1) % max_voices;
|
||||
u8 const mod_voi = ((v + max_voices) - 1) % max_voices;
|
||||
optr[v].modulator = &optr[mod_voi];
|
||||
optr[mod_voi].carrier = &optr[v];
|
||||
optr[v].filtVoiceMask = 1 << v;
|
||||
|
Loading…
Reference in New Issue
Block a user