mirror of
https://git.ryujinx.app/ryubing/ryujinx.git
synced 2025-07-19 07:36:30 +02: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