Better support for user accounts (#349)
* Better support for user accounts * Nits * Check for invalid ids
This commit is contained in:
parent
17f54b5d78
commit
9ac5583513
25 changed files with 314 additions and 136 deletions
|
@ -5,7 +5,6 @@ using Ryujinx.HLE.Gpu;
|
|||
using Ryujinx.HLE.Input;
|
||||
using Ryujinx.HLE.Logging;
|
||||
using Ryujinx.HLE.OsHle;
|
||||
using Ryujinx.HLE.Settings;
|
||||
using System;
|
||||
|
||||
namespace Ryujinx.HLE
|
||||
|
@ -22,8 +21,6 @@ namespace Ryujinx.HLE
|
|||
|
||||
public Horizon Os { get; private set; }
|
||||
|
||||
public SystemSettings Settings { get; private set; }
|
||||
|
||||
public PerformanceStatistics Statistics { get; private set; }
|
||||
|
||||
public Hid Hid { get; private set; }
|
||||
|
@ -54,8 +51,6 @@ namespace Ryujinx.HLE
|
|||
|
||||
Os = new Horizon(this);
|
||||
|
||||
Settings = new SystemSettings();
|
||||
|
||||
Statistics = new PerformanceStatistics();
|
||||
|
||||
Hid = new Hid(Log);
|
||||
|
@ -67,12 +62,6 @@ namespace Ryujinx.HLE
|
|||
|
||||
Os.FontSharedMem.MemoryMapped += Font.ShMemMap;
|
||||
Os.FontSharedMem.MemoryUnmapped += Font.ShMemUnmap;
|
||||
|
||||
Settings.User = new Profile()
|
||||
{
|
||||
Username = "Ryujinx",
|
||||
UserId = "000123456789abcdef09876543210000"
|
||||
};
|
||||
}
|
||||
|
||||
public void LoadCart(string ExeFsDir, string RomFsFile = null)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue