forked from len0rd/rockbox
Fix 87021f7
errors. There is no this->echo_pos when SPC_NOECHO != 0.
Anyway, that's true now. Change-Id: I247ea9a10543a8b65f3e73495f0e2ea725ec533e
This commit is contained in:
parent
87021f7c0a
commit
00e55d0451
1 changed files with 1 additions and 1 deletions
|
@ -904,7 +904,6 @@ void DSP_run_( struct Spc_Dsp* this, long count, int32_t* out_buf )
|
||||||
void DSP_reset( struct Spc_Dsp* this )
|
void DSP_reset( struct Spc_Dsp* this )
|
||||||
{
|
{
|
||||||
this->keys_down = 0;
|
this->keys_down = 0;
|
||||||
this->echo_pos = 0;
|
|
||||||
this->noise_count = 0;
|
this->noise_count = 0;
|
||||||
this->noise = 2;
|
this->noise = 2;
|
||||||
|
|
||||||
|
@ -927,6 +926,7 @@ void DSP_reset( struct Spc_Dsp* this )
|
||||||
#endif /* SPC_BRRCACHE */
|
#endif /* SPC_BRRCACHE */
|
||||||
|
|
||||||
#if !SPC_NOECHO
|
#if !SPC_NOECHO
|
||||||
|
this->echo_pos = 0;
|
||||||
echo_init(this);
|
echo_init(this);
|
||||||
#endif /* SPC_NOECHO */
|
#endif /* SPC_NOECHO */
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue