mirror of
https://github.com/libretro/scummvm.git
synced 2025-02-21 19:51:49 +00:00
Er, malloc good.
svn-id: r3639
This commit is contained in:
parent
ee33febf34
commit
0ad040d954
@ -208,7 +208,8 @@ void Scumm::scummMain(int argc, char **argv) {
|
||||
|
||||
if (!_gameDataPath) {
|
||||
warning("No path was provided. Assuming that data file are in the current directory");
|
||||
strcpy(_gameDataPath, "");
|
||||
_gameDataPath = (char *)malloc(sizeof(char) * 2);
|
||||
strcpy(_gameDataPath, "");
|
||||
}
|
||||
|
||||
if(_features & GF_AFTER_V7)
|
||||
|
Loading…
x
Reference in New Issue
Block a user