mirror of
https://git.743378673.xyz/MeloNX/MeloNX.git
synced 2025-07-30 16:37:11 +02:00
Ignore exceptions when cleaning the SD card saves (#2576)
This commit is contained in:
parent
b3bf958f8a
commit
0eb42963a0
1 changed files with 11 additions and 2 deletions
|
@ -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
|
||||
{
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue