Warn about erasing dynamic playlist when loading bookmark - FS #10482 by Tuomas Airaksinen
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@28176 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
parent
dcc0d7dfdc
commit
1ca28a4dc7
1 changed files with 2 additions and 0 deletions
|
@ -927,6 +927,8 @@ static bool play_bookmark(const char* bookmark)
|
||||||
sound_set_pitch(bm.pitch);
|
sound_set_pitch(bm.pitch);
|
||||||
dsp_set_timestretch(bm.speed);
|
dsp_set_timestretch(bm.speed);
|
||||||
#endif
|
#endif
|
||||||
|
if (!warn_on_pl_erase())
|
||||||
|
return false;
|
||||||
return bookmark_play(global_temp_buffer, bm.resume_index,
|
return bookmark_play(global_temp_buffer, bm.resume_index,
|
||||||
bm.resume_offset, bm.resume_seed, global_filename);
|
bm.resume_offset, bm.resume_seed, global_filename);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue