git » fp-git.git » commit aec783d

added pop2 support

author ecalot
2006-02-01 20:30:48 UTC
committer ecalot
2006-02-01 20:30:48 UTC
parent 9ba44d7ee238c58d49340ff01a51b6115d344606

added pop2 support

PR/src/lib/layers/autodetect.c +1 -1

diff --git a/PR/src/lib/layers/autodetect.c b/PR/src/lib/layers/autodetect.c
index 114ec4a..9bafb5b 100644
--- a/PR/src/lib/layers/autodetect.c
+++ b/PR/src/lib/layers/autodetect.c
@@ -42,7 +42,7 @@ autodetect.c: Princed Resources : Automatic detection resource types
 \***************************************************************/
 
 int verifyLevelHeader(const unsigned char *array, int size) {
-	return (((size==2306)||(size==2305))&&!(array[1698]&0x0F)&&!(array[1700]&0x0F)&&!(array[1702]&0x0F));
+	return (size==12025) || (((size==2306)||(size==2305))&&!(array[1698]&0x0F)&&!(array[1700]&0x0F)&&!(array[1702]&0x0F));
 }
 
 int verifyImageHeader(const unsigned char *array, int size) {