mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-07-21 05:09:34 -06:00
Common/FileUtil: Rename Copy() to CopyRegularFile().
This is to clarify that it can only copy files, not folders.
This commit is contained in:
@ -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)
|
||||
|
Reference in New Issue
Block a user