Unverified Commit f3a74b62 authored by Libretro-Admin's avatar Libretro-Admin Committed by GitHub
Browse files

Merge pull request #28 from mlpformat/master

Fix resetting when track 1 is paused
parents 8624a1d0 ce224b99
Pipeline #96733 passed with stages
in 7 minutes and 51 seconds
......@@ -52,14 +52,14 @@ void start_track(int tracknr)
track = plist->tracks[tracknr];
if(track)
{
//change emu if file changes
if(track->file_id != prev_fileid)
//change emu regardless of whether file changes
//if(track->file_id != prev_fileid)
{
is_playing_ = false;
file = plist->files[track->file_id];
prev_fileid = track->file_id;
if (emu)
gme_delete (emu);
gme_delete (emu);
emu = gme_new_emu(file->file_type,sample_rate_);
gme_load_data(emu,file->data,file->length);
is_playing_ = true;
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment