mirror of
https://github.com/ZDoom/gzdoom-gles.git
synced 2024-11-13 07:57:51 +00:00
- fixed incomplete initialization of the chorus data.
This commit is contained in:
parent
88328b056d
commit
fa8cfa65c0
2 changed files with 3 additions and 0 deletions
|
@ -29,6 +29,7 @@ public:
|
||||||
Effect(Reverb *_reverb)
|
Effect(Reverb *_reverb)
|
||||||
{
|
{
|
||||||
reverb = _reverb;
|
reverb = _reverb;
|
||||||
|
init_effect();
|
||||||
}
|
}
|
||||||
|
|
||||||
void init_effect();
|
void init_effect();
|
||||||
|
|
|
@ -6132,11 +6132,13 @@ void Player::send_long_event(const uint8_t *sysexbuffer, int exlen)
|
||||||
|
|
||||||
/* initialize effect status */
|
/* initialize effect status */
|
||||||
reverb->init_effect_status(play_system_mode);
|
reverb->init_effect_status(play_system_mode);
|
||||||
|
effect->init_effect();
|
||||||
instruments->init_userdrum();
|
instruments->init_userdrum();
|
||||||
instruments->init_userinst();
|
instruments->init_userinst();
|
||||||
playmidi_stream_init();
|
playmidi_stream_init();
|
||||||
}
|
}
|
||||||
play_event(&ev);
|
play_event(&ev);
|
||||||
|
return;
|
||||||
}
|
}
|
||||||
if ((ne = sc.parse_sysex_event_multi(sysexbuffer + 1, exlen - 1, evm, instruments)))
|
if ((ne = sc.parse_sysex_event_multi(sysexbuffer + 1, exlen - 1, evm, instruments)))
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in a new issue