From 35ffeed49f5aa3cd81261bdcd8862b96063e47ab Mon Sep 17 00:00:00 2001 From: Christophe Grenier Date: Tue, 16 Mar 2010 22:15:54 +0100 Subject: [PATCH] PhotoRec: recover Extended Renoise song .xrns files --- src/file_zip.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/file_zip.c b/src/file_zip.c index b147d05d..40e158d7 100644 --- a/src/file_zip.c +++ b/src/file_zip.c @@ -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;