mirror of
https://git.ryujinx.app/projects/Kenji-NX.git
synced 2026-11-19 09:21:15 +01:00
Ignore exceptions when cleaning the SD card saves (#2576)
This commit is contained in:
1 parent
d753de6d5d
commit
5e99bff7de
1 file changed
+11
-2
@@ -97,8 +97,17 @@ namespace Ryujinx.HLE.HOS
|
||||
|
||||
try
|
||||
{
|
||||
RyujinxClient.Fs.CleanDirectoryRecursively("sdcard:/Nintendo/save".ToU8Span()).IgnoreResult();
|
||||
RyujinxClient.Fs.DeleteDirectoryRecursively("sdcard:/save".ToU8Span()).IgnoreResult();
|
||||
try
|
||||
{
|
||||
RyujinxClient.Fs.CleanDirectoryRecursively("sdcard:/Nintendo/save".ToU8Span()).IgnoreResult();
|
||||
}
|
||||
catch (Exception) { /* We don't care about the result */ }
|
||||
|
||||
try
|
||||
{
|
||||
RyujinxClient.Fs.DeleteDirectoryRecursively("sdcard:/save".ToU8Span()).IgnoreResult();
|
||||
}
|
||||
catch (Exception) { /* We don't care about the result */ }
|
||||
}
|
||||
finally
|
||||
{
|
||||
|
||||
Reference in new issue
Block a user