Fix external M3U decimal index handling.

CQTexperiment
Christopher Snowhill 2018-07-22 02:07:19 -07:00
parent 03eac4619f
commit e59a9e1ed9
1 changed files with 2 additions and 2 deletions

View File

@ -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" );