endian fixes,

don't use adlib driver if sound initialization fails,
simon1 savedialog works

svn-id: r3955
This commit is contained in:
Ludvig Strigeus 2002-04-16 12:07:19 +00:00
parent d91b85049f
commit 71eac5acd3
14 changed files with 410 additions and 70 deletions

View file

@ -380,8 +380,7 @@ int GameDetector::detectMain(int argc, char **argv)
if (!_gameDataPath) {
warning("No path was provided. Assuming that data file are in the current directory");
_gameDataPath = (char *)malloc(sizeof(char) * 2);
strcpy(_gameDataPath, "");
_gameDataPath = strdup("");
}
return (0);