From 88ae24e83c5cbd9f354216541721d4256e3af815 Mon Sep 17 00:00:00 2001 From: bnnm Date: Sat, 3 Nov 2018 23:04:05 +0100 Subject: [PATCH] Remove unnecessary Doom .mus kludge Those files are ignored by vgmstream (id 0x4D55531A) and play fine in foobar --- fb2k/foo_vgmstream.cpp | 9 --------- 1 file changed, 9 deletions(-) diff --git a/fb2k/foo_vgmstream.cpp b/fb2k/foo_vgmstream.cpp index 9177e3e0..2d77d685 100644 --- a/fb2k/foo_vgmstream.cpp +++ b/fb2k/foo_vgmstream.cpp @@ -80,15 +80,6 @@ void input_vgmstream::open(service_ptr_t p_filehint,const char * p_path,t_ filename = p_path; - /* KLUDGE */ - if ( !pfc::stricmp_ascii( pfc::string_extension(filename), "MUS" ) ) - { - unsigned char buffer[ 4 ]; - if ( p_filehint.is_empty() ) input_open_file_helper( p_filehint, filename, p_reason, p_abort ); - p_filehint->read_object_t( buffer, p_abort ); - if ( !memcmp( buffer, "MUS\x1A", 4 ) ) throw exception_io_unsupported_format(); - } - // keep file stats around (timestamp, filesize) if ( p_filehint.is_empty() )