Fix external M3U decimal index handling.

CQTexperiment
Christopher Snowhill 2018-07-22 02:07:19 -07:00
parent d3b6e474da
commit b30a8f213f
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; *track_io = e.track;
// TODO: really needs to be removed? // TODO: really needs to be removed?
//if ( !(type_->flags_ & 0x02) ) if ( !(type_->flags_ & 0x02) )
// *track_io -= e.decimal_track; *track_io -= e.decimal_track;
} }
if ( *track_io >= raw_track_count_ ) if ( *track_io >= raw_track_count_ )
return BLARGG_ERR( BLARGG_ERR_FILE_CORRUPT, "invalid track in m3u playlist" ); return BLARGG_ERR( BLARGG_ERR_FILE_CORRUPT, "invalid track in m3u playlist" );