mirror of
https://git.naxdy.org/Mirror/Ryujinx.git
synced 2026-04-20 23:22:10 +00:00
fix "could not find part of path" error when installing firmware
This commit is contained in:
parent
8f529d17a8
commit
fd2ecee479
1 changed files with 3 additions and 0 deletions
|
|
@ -548,6 +548,9 @@ namespace Ryujinx.HLE.FileSystem
|
||||||
new DirectoryInfo(registeredDirectory).Delete(true);
|
new DirectoryInfo(registeredDirectory).Delete(true);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if (!Directory.Exists(temporaryDirectory))
|
||||||
|
return; // nothing to move
|
||||||
|
|
||||||
Directory.Move(temporaryDirectory, registeredDirectory);
|
Directory.Move(temporaryDirectory, registeredDirectory);
|
||||||
|
|
||||||
LoadEntries();
|
LoadEntries();
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue