[Core/Sound] fixed overflow bug in MAME YM2413 core when using attack rate 14.3 (introduced in previous commit)

This commit is contained in:
ekeeke 2022-02-06 19:00:15 +01:00
parent 236e783ec2
commit e4c53348d9

View File

@ -103,7 +103,7 @@ typedef struct
UINT8 eg_sh_dp; /* (dump state) */ UINT8 eg_sh_dp; /* (dump state) */
UINT8 eg_sel_dp; /* (dump state) */ UINT8 eg_sel_dp; /* (dump state) */
UINT8 eg_sh_ar; /* (attack state) */ UINT8 eg_sh_ar; /* (attack state) */
UINT8 eg_sel_ar; /* (attack state) */ UINT16 eg_sel_ar; /* (attack state) */
UINT8 eg_sh_dr; /* (decay state) */ UINT8 eg_sh_dr; /* (decay state) */
UINT8 eg_sel_dr; /* (decay state) */ UINT8 eg_sel_dr; /* (decay state) */
UINT8 eg_sh_rr; /* (release state for non-perc.) */ UINT8 eg_sh_rr; /* (release state for non-perc.) */