mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-07-23 06:09:50 -06:00
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
This commit is contained in:
@ -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
|
||||
|
@ -44,6 +44,7 @@ bool CreateDir(const char *filename);
|
||||
bool Delete(const char *filename);
|
||||
bool DeleteDir(const char *filename);
|
||||
bool Rename(const char *srcFilename, const char *destFilename);
|
||||
bool Copy(const char *srcFilename, const char *destFilename);
|
||||
u64 GetSize(const char *filename);
|
||||
std::string GetUserDirectory();
|
||||
bool CreateEmptyFile(const char *filename);
|
||||
|
Reference in New Issue
Block a user