aboutsummaryrefslogtreecommitdiff
path: root/backends/platform/ps2/systemps2.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'backends/platform/ps2/systemps2.cpp')
-rw-r--r--backends/platform/ps2/systemps2.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/backends/platform/ps2/systemps2.cpp b/backends/platform/ps2/systemps2.cpp
index f76e26a543..a20ac6ada9 100644
--- a/backends/platform/ps2/systemps2.cpp
+++ b/backends/platform/ps2/systemps2.cpp
@@ -46,6 +46,7 @@
#include "common/events.h"
#include "common/file.h"
#include "common/scummsys.h"
+#include "common/str.h"
#include "backends/platform/ps2/asyncfio.h"
#include "backends/platform/ps2/cd.h"
@@ -1096,7 +1097,7 @@ void OSystem_PS2::makeConfigPath() {
else
ps2_fclose(src);
- _configFile = strdup(path);
+ _configFile = scumm_strdup(path);
}
Common::String OSystem_PS2::getDefaultConfigFileName() {