mirror of
https://git.ryujinx.app/ryubing/ryujinx.git
synced 2025-12-21 16:37:00 +00:00
fix "could not find part of path" error when installing firmware
This commit is contained in:
parent
7fdbfb7e2e
commit
dbebdb60d5
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…
Add table
Add a link
Reference in a new issue