mirror of
https://git.ryujinx.app/kenji-nx/ryujinx.git
synced 2025-12-20 07:37:05 +00:00
Fix opening the wrong log directory (#6220)
This commit is contained in:
parent
ccbbaddbcb
commit
4505a7f162
5 changed files with 16 additions and 9 deletions
|
|
@ -23,7 +23,7 @@ namespace Ryujinx.Common.Logging.Targets
|
|||
public static FileStream PrepareLogFile(string path)
|
||||
{
|
||||
// Ensure directory is present
|
||||
DirectoryInfo logDir = new(Path.Combine(path, "Logs"));
|
||||
DirectoryInfo logDir = new(path);
|
||||
try
|
||||
{
|
||||
logDir.Create();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue