mirror of
https://github.com/libretro/scummvm.git
synced 2024-12-14 05:38:56 +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;
|
||||
strcpy(detectName, "00.MAN");
|
||||
break;
|
||||
default:
|
||||
return false;
|
||||
}
|
||||
|
||||
return true;
|
||||
|
Loading…
Reference in New Issue
Block a user