From 1259d81b5215c025ba040ad928627d41594e9578 Mon Sep 17 00:00:00 2001 From: "alexey.lysiuk" Date: Sat, 29 Dec 2018 15:49:02 +0200 Subject: [PATCH] - fixed SPC music loops This reverts the following commit from game-music-emu repository https://bitbucket.org/mpyne/game-music-emu/commits/49238f9ae5792e16481228916cef50c4a6c6c5a0 https://forum.zdoom.org/viewtopic.php?t=62613 --- game-music-emu/gme/Spc_Emu.cpp | 5 ----- 1 file changed, 5 deletions(-) diff --git a/game-music-emu/gme/Spc_Emu.cpp b/game-music-emu/gme/Spc_Emu.cpp index 35086ce710..5215e2d1c0 100644 --- a/game-music-emu/gme/Spc_Emu.cpp +++ b/game-music-emu/gme/Spc_Emu.cpp @@ -299,11 +299,6 @@ blargg_err_t Spc_Emu::start_track_( int track ) RETURN_ERR( apu.load_spc( file_data, file_size ) ); filter.set_gain( (int) (gain() * SPC_Filter::gain_unit) ); apu.clear_echo(); - track_info_t spc_info; - RETURN_ERR( track_info_( &spc_info, track ) ); - // Set a default track length, need a non-zero fadeout - if ( spc_info.length > 0 ) - set_fade ( spc_info.length, 50 ); return 0; }