Fix external M3U decimal index handling.
parent
03eac4619f
commit
e59a9e1ed9
|
@ -103,8 +103,8 @@ blargg_err_t Gme_File::remap_track_( int* track_io ) const
|
|||
{
|
||||
*track_io = e.track;
|
||||
// TODO: really needs to be removed?
|
||||
//if ( !(type_->flags_ & 0x02) )
|
||||
// *track_io -= e.decimal_track;
|
||||
if ( !(type_->flags_ & 0x02) )
|
||||
*track_io -= e.decimal_track;
|
||||
}
|
||||
if ( *track_io >= raw_track_count_ )
|
||||
return BLARGG_ERR( BLARGG_ERR_FILE_CORRUPT, "invalid track in m3u playlist" );
|
||||
|
|
Loading…
Reference in New Issue