diff options
| author | John Peterson <jpeterson57@gmail.com> | 2008-11-29 08:49:22 +0000 |
|---|---|---|
| committer | John Peterson <jpeterson57@gmail.com> | 2008-11-29 08:49:22 +0000 |
| commit | 409720b91a58d4eff79d959ca00f65ee4ad4246d (patch) | |
| tree | 93879f6304146580366f157ac5656095c5890efb /Source/Core/Common/Src/FileUtil.cpp | |
| parent | f4cae8c9b7f3a71b1ae5c691d5bdb9a038b12f3d (diff) | |
Wii IPC file handling: Made some comments and changes to try to locate the Mario Kart and SSBB errors, in case they are file handling errors
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@1327 8ced0084-cf51-0410-be5f-012b33b47a6e
Diffstat (limited to 'Source/Core/Common/Src/FileUtil.cpp')
| -rw-r--r-- | Source/Core/Common/Src/FileUtil.cpp | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/Source/Core/Common/Src/FileUtil.cpp b/Source/Core/Common/Src/FileUtil.cpp index e3401387ac..60bee857e1 100644 --- a/Source/Core/Common/Src/FileUtil.cpp +++ b/Source/Core/Common/Src/FileUtil.cpp @@ -172,6 +172,15 @@ bool Rename(const char *srcFilename, const char *destFilename) return (rename(srcFilename, destFilename) == 0);
}
+bool Copy(const char *srcFilename, const char *destFilename)
+{
+#ifdef _WIN32
+ return CopyFile(srcFilename, destFilename, FALSE);
+#else
+
+#endif
+}
+
std::string GetUserDirectory()
{
#ifdef _WIN32
|
