mirror of
https://git.ryujinx.app/kenji-nx/ryujinx.git
synced 2025-12-13 04:37:02 +00:00
Increase # of maximum log files from 4 to 5
This commit is contained in:
parent
a1834900be
commit
4fd4e3a4ff
1 changed files with 2 additions and 2 deletions
|
|
@ -46,9 +46,9 @@ namespace Ryujinx.Common.Logging.Targets
|
|||
return null;
|
||||
}
|
||||
|
||||
// Clean up old logs, should only keep 4
|
||||
// Clean up old logs, should only keep 5
|
||||
FileInfo[] files = logDir.GetFiles("*.log").OrderBy((info => info.CreationTime)).ToArray();
|
||||
for (int i = 0; i < files.Length - 3; i++)
|
||||
for (int i = 0; i < files.Length - 4; i++)
|
||||
{
|
||||
try
|
||||
{
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue