mirror of
https://github.com/Ryujinx/Ryujinx.git
synced 2025-06-29 09:10:47 -07:00
Ignore exceptions when cleaning the SD card saves (#2576)
This commit is contained in:
@ -97,8 +97,17 @@ namespace Ryujinx.HLE.HOS
|
|||||||
|
|
||||||
try
|
try
|
||||||
{
|
{
|
||||||
RyujinxClient.Fs.CleanDirectoryRecursively("sdcard:/Nintendo/save".ToU8Span()).IgnoreResult();
|
try
|
||||||
RyujinxClient.Fs.DeleteDirectoryRecursively("sdcard:/save".ToU8Span()).IgnoreResult();
|
{
|
||||||
|
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
|
finally
|
||||||
{
|
{
|
||||||
|
Reference in New Issue
Block a user