mirror of
https://github.com/TomHarte/CLK.git
synced 2026-04-19 19:16:34 +00:00
Make a complete attempt at ADSR.
This commit is contained in:
@@ -42,7 +42,7 @@ void SID::write(const Numeric::SizedInt<5> address, const uint8_t value) {
|
||||
((oscillator().pitch & 0x0f'f0'00'00) | uint32_t(value << 28)) ^ 0x8000'0000;
|
||||
break;
|
||||
case 0x04: case 0x0b: case 0x12:
|
||||
voice().control = value;
|
||||
voice().set_control(value);
|
||||
break;
|
||||
case 0x05: case 0x0c: case 0x13:
|
||||
adsr().attack = value >> 4;
|
||||
|
||||
Reference in New Issue
Block a user