mirror of
https://git.ryujinx.app/projects/Kenji-NX.git
synced 2026-09-20 17:51:13 +02:00
Increase # of maximum log files from 4 to 5
This commit is contained in:
@@ -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
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user