Commits

Anonymous committed 2235ded

Support reading Mode2/Form1 tracks.

Comments (0)

Files changed (1)

 		switch (mode) {
 			/* supported modes, we set *sectsize and leave unsupp_desc NULL */
 			case MIRAGE_MODE_MODE1:
+			case MIRAGE_MODE_MODE2_FORM1:
 				*sectsize = 2048;
 				break;
 			/* unsupported modes, we leave *sectsize unmodified and set unsupp_desc */
 			case MIRAGE_MODE_MODE2:
 				unsupp_desc = "a Mode 2";
 				break;
-			case MIRAGE_MODE_MODE2_FORM1:
-				unsupp_desc = "a Mode 2 Form 1";
-				break;
 			case MIRAGE_MODE_MODE2_FORM2:
 				unsupp_desc = "a Mode 2 Form 2";
 				break;