mirror of
https://github.com/libretro/scummvm.git
synced 2024-12-14 21:59:17 +00:00
Paranoia change: catch invalid 'method' value in generateDetectName
svn-id: r21602
This commit is contained in:
parent
77555809b6
commit
7ba17e0574
@ -1273,6 +1273,8 @@ static bool generateDetectName(const ScummGameSettings *g, int method, char *det
|
|||||||
return false;
|
return false;
|
||||||
strcpy(detectName, "00.MAN");
|
strcpy(detectName, "00.MAN");
|
||||||
break;
|
break;
|
||||||
|
default:
|
||||||
|
return false;
|
||||||
}
|
}
|
||||||
|
|
||||||
return true;
|
return true;
|
||||||
|
Loading…
Reference in New Issue
Block a user