mirror of
https://github.com/polpo/picogus.git
synced 2026-10-25 21:40:16 +00:00
Update emu8950.c
remove spaces from last commit
This commit is contained in:
1 parent
f17171db86
commit
07c4b5ca07
1 file changed
+2
-2
+2
-2
@@ -1513,8 +1513,8 @@ uint32_t __not_in_flash_func(slot_car_linear_alg1)(OPL *opl, OPL_SLOT *slot, uin
|
||||
|
||||
uint16_t mask = (1 << slot->eg_shift) - 1;
|
||||
if (0 < slot->eg_out && slot->eg_rate_h > 0 && (eg_counter & mask) == 0) {
|
||||
uint8_t step = lookup_attack_step(slot, eg_counter);
|
||||
slot->eg_out += (~slot->eg_out * step) >> 3;
|
||||
uint8_t step = lookup_attack_step(slot, eg_counter);
|
||||
slot->eg_out += (~slot->eg_out * step) >> 3;
|
||||
}
|
||||
if (slot->eg_out == 0) {
|
||||
slot->eg_state = DECAY;
|
||||
|
||||
Reference in new issue
Block a user