Skip to content

Commit

Permalink
Linux: Fix problem with memstick directory creation
Browse files Browse the repository at this point in the history
CreateDir may not be enough so use CreateFullPath
  • Loading branch information
hrydgard committed Feb 6, 2025
1 parent 7006f01 commit 360c545
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Core/System.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -661,7 +661,7 @@ bool CreateSysDirectories() {

Path pspDir = GetSysDirectory(DIRECTORY_PSP);
INFO_LOG(Log::IO, "Creating '%s' and subdirs:", pspDir.c_str());
File::CreateDir(pspDir);
File::CreateFullPath(pspDir);
if (!File::Exists(pspDir)) {
INFO_LOG(Log::IO, "Not a workable memstick directory. Giving up");
return false;
Expand Down

0 comments on commit 360c545

Please sign in to comment.