mirror of
https://github.com/LIV2/lide.device.git
synced 2025-12-06 00:32:45 +00:00
Mounter: fix CheckPVD string comparison
This commit is contained in:
parent
82d9e9931f
commit
f924dc8ccc
@ -140,7 +140,7 @@ bool CheckPVD(struct IOStdReq *ior) {
|
||||
|
||||
// Check ISO ID String & for PVD Version & Type code
|
||||
if ((strncmp(iso_id,id_string,5) == 0) && buf[0] == 1 && buf[6] == 1) {
|
||||
if (strncmp(sys_id_1,system_id,strlen(sys_id_1)) == 0 || strncmp(sys_id_2,system_id,strlen(sys_id_2) == 0)) {
|
||||
if (strncmp(sys_id_1,system_id,strlen(sys_id_1)) == 0 || strncmp(sys_id_2,system_id,strlen(sys_id_2)) == 0) {
|
||||
ret = true; // CDTV or AMIGA BOOT
|
||||
} else {
|
||||
ret = false;
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user