endian fixes,
don't use adlib driver if sound initialization fails, simon1 savedialog works svn-id: r3955
This commit is contained in:
parent
d91b85049f
commit
71eac5acd3
14 changed files with 410 additions and 70 deletions
|
@ -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);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue