mirror of
https://github.com/thewesker/RASCSI.git
synced 2025-12-22 13:21:17 -05:00
Temporarily remove the device type checking. It doesn't handle the different HD types properly
This commit is contained in:
@@ -151,16 +151,18 @@ BOOL Rasctl_Command::IsValid(FILE *fp){
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
//!!!!! THIS DOESN'T WORK QUITE RIGHT.....
|
||||||
// Check if the filename extension matches the device type
|
// Check if the filename extension matches the device type
|
||||||
expected_type = DeviceTypeFromFilename(fp, file);
|
// if(strlen(file) > 0){
|
||||||
if(expected_type != rasctl_dev_invalid){
|
// expected_type = DeviceTypeFromFilename(fp, file);
|
||||||
if((file != nullptr) && (type != expected_type)) {
|
// if(expected_type != rasctl_dev_invalid){
|
||||||
FPRT(fp, "Filename specified is for type %s. This isn't compatible with a %s device.",
|
// if((file != nullptr) && (type != expected_type)) {
|
||||||
dev_type_lookup[expected_type], dev_type_lookup[type]);
|
// FPRT(fp, "Filename specified is for type %s. This isn't compatible with a %s device.",
|
||||||
return FALSE;
|
// dev_type_lookup[expected_type], dev_type_lookup[type]);
|
||||||
}
|
// return FALSE;
|
||||||
}
|
// }
|
||||||
|
// }
|
||||||
|
// }
|
||||||
// Everything appears to be OK
|
// Everything appears to be OK
|
||||||
return TRUE;
|
return TRUE;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user