Fix external M3U decimal index handling.
parent
d3b6e474da
commit
b30a8f213f
|
@ -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" );
|
||||||
|
|
Loading…
Reference in New Issue