aboutsummaryrefslogtreecommitdiff
path: root/Ryujinx.HLE/HOS/Services/Apm/SystemManagerServer.cs
diff options
context:
space:
mode:
Diffstat (limited to 'Ryujinx.HLE/HOS/Services/Apm/SystemManagerServer.cs')
-rw-r--r--Ryujinx.HLE/HOS/Services/Apm/SystemManagerServer.cs28
1 files changed, 0 insertions, 28 deletions
diff --git a/Ryujinx.HLE/HOS/Services/Apm/SystemManagerServer.cs b/Ryujinx.HLE/HOS/Services/Apm/SystemManagerServer.cs
deleted file mode 100644
index a6264236..00000000
--- a/Ryujinx.HLE/HOS/Services/Apm/SystemManagerServer.cs
+++ /dev/null
@@ -1,28 +0,0 @@
-namespace Ryujinx.HLE.HOS.Services.Apm
-{
- [Service("apm:sys")]
- class SystemManagerServer : ISystemManager
- {
- private readonly ServiceCtx _context;
-
- public SystemManagerServer(ServiceCtx context) : base(context)
- {
- _context = context;
- }
-
- protected override void RequestPerformanceMode(PerformanceMode performanceMode)
- {
- _context.Device.System.PerformanceState.PerformanceMode = performanceMode;
- }
-
- internal override void SetCpuBoostMode(CpuBoostMode cpuBoostMode)
- {
- _context.Device.System.PerformanceState.CpuBoostMode = cpuBoostMode;
- }
-
- protected override PerformanceConfiguration GetCurrentPerformanceConfiguration()
- {
- return _context.Device.System.PerformanceState.GetCurrentPerformanceConfiguration(_context.Device.System.PerformanceState.PerformanceMode);
- }
- }
-} \ No newline at end of file