Create the Nintendont directory if it's missing

This commit is contained in:
wiidev 2023-01-01 17:00:28 +00:00
parent 74edae1df1
commit 1d7ec570fa

View File

@ -661,6 +661,8 @@ int FeatureSettingsMenu::GetMenuInternal()
} }
else else
{ {
// Create the directory if it doesn't exist
CreateSubfolder(Settings.NINLoaderPath);
// Rename existing boot.dol file to boot.bak // Rename existing boot.dol file to boot.bak
if (CheckFile(NINUpdatePath)) if (CheckFile(NINUpdatePath))
RenameFile(NINUpdatePath, NINUpdatePathBak); RenameFile(NINUpdatePath, NINUpdatePathBak);