mirror of
https://github.com/RPCS3/rpcs3.git
synced 2025-07-03 21:41:26 +12:00
Basic concept
This commit is contained in:
parent
6a0ce1850a
commit
a71cb5f521
13 changed files with 3413 additions and 24 deletions
|
@ -127,7 +127,7 @@ bool rRename(const std::string &from, const std::string &to)
|
|||
#ifdef _WIN32
|
||||
if (!MoveFile(ConvertUTF8ToWString(from).c_str(), ConvertUTF8ToWString(to).c_str()))
|
||||
#else
|
||||
if (rename(from.c_str(), to.c_str()))
|
||||
if (int err = rename(from.c_str(), to.c_str()))
|
||||
#endif
|
||||
{
|
||||
LOG_ERROR(GENERAL, "Error renaming '%s' to '%s': 0x%llx", from.c_str(), to.c_str(), (u64)GET_API_ERROR);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue