aboutsummaryrefslogtreecommitdiff
path: root/src/Config.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/Config.cpp')
-rw-r--r--src/Config.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/Config.cpp b/src/Config.cpp
index d9dfc92..760ad3b 100644
--- a/src/Config.cpp
+++ b/src/Config.cpp
@@ -20,6 +20,7 @@
#include <string.h>
#include <stdlib.h>
#include "Config.h"
+#include "Platform.h"
#include "melon_fopen.h"
@@ -128,7 +129,7 @@ void Save()
strncpy(&path[dirlen+1], kConfigFile, filelen);
path[dirlen+1+filelen] = '\0';
- f = melon_fopen(path, "w");
+ f = Platform::OpenFile(path, "w");
delete[] path;
if (!f) return;
}