aboutsummaryrefslogtreecommitdiff
path: root/Ryujinx/Program.cs
diff options
context:
space:
mode:
authorMary <57835969+h1k421@users.noreply.github.com>2020-05-04 04:15:27 +0200
committerGitHub <noreply@github.com>2020-05-04 12:15:27 +1000
commit651a07c6c2a3e89c059d56e916c45e1881d56abc (patch)
treec53cd1f08b93e363fa838ad5e5643ba47f7bd734 /Ryujinx/Program.cs
parent4c54f36c380683ef4575becf516953b7b0dfd6fc (diff)
Refactor SystemInfo and implement macOS system info backend (#1177)
Diffstat (limited to 'Ryujinx/Program.cs')
-rw-r--r--Ryujinx/Program.cs8
1 files changed, 4 insertions, 4 deletions
diff --git a/Ryujinx/Program.cs b/Ryujinx/Program.cs
index 2a906b82..45876da8 100644
--- a/Ryujinx/Program.cs
+++ b/Ryujinx/Program.cs
@@ -1,6 +1,6 @@
using Gtk;
-using Ryujinx.Common;
using Ryujinx.Common.Logging;
+using Ryujinx.Common.SystemInfo;
using Ryujinx.Configuration;
using Ryujinx.Debugger.Profiler;
using Ryujinx.Ui;
@@ -45,9 +45,9 @@ namespace Ryujinx
Logger.PrintInfo(LogClass.Application, $"Ryujinx Version: {Version}");
- Logger.PrintInfo(LogClass.Application, $"Operating System: {SystemInfo.OsDescription}");
- Logger.PrintInfo(LogClass.Application, $"CPU: {SystemInfo.CpuName}");
- Logger.PrintInfo(LogClass.Application, $"Total RAM: {SystemInfo.RamSize}");
+ Logger.PrintInfo(LogClass.Application, $"Operating System: {SystemInfo.Instance.OsDescription}");
+ Logger.PrintInfo(LogClass.Application, $"CPU: {SystemInfo.Instance.CpuName}");
+ Logger.PrintInfo(LogClass.Application, $"Total RAM: {SystemInfo.Instance.RamSizeInMB}");
string localConfigurationPath = Path.Combine(AppDomain.CurrentDomain.BaseDirectory, "Config.json");
string globalBasePath = Path.Combine(Environment.GetFolderPath(Environment.SpecialFolder.ApplicationData), "Ryujinx");