mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-08-02 14:19:02 +00:00
Common/FileUtil: Rename Copy() to CopyRegularFile().
This is to clarify that it can only copy files, not folders.
This commit is contained in:
parent
3c4a21315d
commit
e52aa52a66
6 changed files with 13 additions and 13 deletions
|
@ -1432,7 +1432,7 @@ void SaveRecording(const std::string& filename)
|
|||
if (success && s_bRecordingFromSaveState)
|
||||
{
|
||||
std::string stateFilename = filename + ".sav";
|
||||
success = File::Copy(File::GetUserPath(D_STATESAVES_IDX) + "dtm.sav", stateFilename);
|
||||
success = File::CopyRegularFile(File::GetUserPath(D_STATESAVES_IDX) + "dtm.sav", stateFilename);
|
||||
}
|
||||
|
||||
if (success)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue