mirror of
https://github.com/KeatonTheBot/Ryujinx.git
synced 2026-04-19 01:02:04 +00:00
Increase # of maximum log files from 3 to 4
This commit is contained in:
parent
ebe623bc07
commit
45db10220e
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 3
|
||||
// Clean up old logs, should only keep 4
|
||||
FileInfo[] files = logDir.GetFiles("*.log").OrderBy((info => info.CreationTime)).ToArray();
|
||||
for (int i = 0; i < files.Length - 2; i++)
|
||||
for (int i = 0; i < files.Length - 3; i++)
|
||||
{
|
||||
try
|
||||
{
|
||||
|
|
|
|||
Loading…
Reference in a new issue