mirror of
https://github.com/ZDoom/qzdoom.git
synced 2024-11-24 13:01:47 +00:00
- fixed SPC music loops
This reverts the following commit from game-music-emu repository
49238f9ae5
https://forum.zdoom.org/viewtopic.php?t=62613
This commit is contained in:
parent
f35ac75ca2
commit
df2bef2f60
1 changed files with 0 additions and 5 deletions
|
@ -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;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue