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:
Bertrik Sikken 2010-09-26 21:13:25 +00:00
parent dcc0d7dfdc
commit 1ca28a4dc7

View file

@ -927,6 +927,8 @@ static bool play_bookmark(const char* bookmark)
sound_set_pitch(bm.pitch);
dsp_set_timestretch(bm.speed);
#endif
if (!warn_on_pl_erase())
return false;
return bookmark_play(global_temp_buffer, bm.resume_index,
bm.resume_offset, bm.resume_seed, global_filename);
}