PhotoRec: recover Extended Renoise song .xrns files

This commit is contained in:
Christophe Grenier 2010-03-16 22:15:54 +01:00
parent f753423385
commit 35ffeed49f

View file

@ -705,6 +705,9 @@ static int header_check_zip(const unsigned char *buffer, const unsigned int buff
file_recovery_new->extension="docx";
file_recovery_new->file_rename=&file_rename_zip;
}
/* Extended Renoise song file */
else if(memcmp(&buffer[30], "Song.xml", 8)==0)
file_recovery_new->extension="xrns";
else
file_recovery_new->extension=file_hint_zip.extension;
return 1;