0
0
Fork 0
mirror of https://github.com/GreemDev/Ryujinx.git synced 2024-12-27 05:25:46 +00:00
Ryujinx/Ryujinx.HLE/HOS/Services
Ac_K 6b8fb8a4e3 Implement am ICommonStateGetter::SetCpuBoostMode (#743)
- Implement am ICommonStateGetter::SetCpuBoostMode according to the RE:

```
signed __int64 __fastcall nn::ICommonStateGetter::SetCpuBoostModeImpl(__int64 this, unsigned int cpu_boost_mode)
{
  if ( cpu_boost_mode > 1 )
  {
    return 0x3F480LL;
  }

  __int64 v2 = *(_QWORD *)(this + 0x38);
  __int64 v3 = *(_QWORD *)(*(_QWORD *)(v2 + 8) + 0x298LL);

  nnLock((_DWORD *)(v3 + 0x104));

  __int64 v5 = *(_QWORD *)(v2 + 0x18);
  bool unk_bool = *(unsigned __int8 *)(v5 + 0x7C);

  *(_DWORD *)(v5 + 0x80) = cpu_boost_mode;

  if (!unk_bool)
  {
    *(_BYTE *)(v5 + 0x7C) = 1;
  }

  wait_condvar(v3 + 0xA8);
  nnUnlock((_DWORD *)(v3 + 0x104));

  return 0LL;
}
```

- Add enum for apm CpuBoostMode
- Add missing values in apm PerformanceConfiguration with some comments.
2019-08-28 13:02:50 +02:00
..
Acc Add a new JIT compiler for CPU code (#693) 2019-08-08 21:56:22 +03:00
Am Implement am ICommonStateGetter::SetCpuBoostMode (#743) 2019-08-28 13:02:50 +02:00
Apm Implement am ICommonStateGetter::SetCpuBoostMode (#743) 2019-08-28 13:02:50 +02:00
Arp Refactoring of acc:u0 (#701) 2019-06-16 00:35:38 +02:00
Aud Add a new JIT compiler for CPU code (#693) 2019-08-08 21:56:22 +03:00
Bcat Refactoring result codes (#731) 2019-07-14 16:04:38 -03:00
Bpc Implement time:* 2.0.0 & 3.0.0 commands (#735) 2019-07-15 19:52:35 +02:00
Bsd Refactoring result codes (#731) 2019-07-14 16:04:38 -03:00
Caps Refactoring commands handling (#728) 2019-07-11 22:13:43 -03:00
Es Refactoring commands handling (#728) 2019-07-11 22:13:43 -03:00
Friend Refactoring result codes (#731) 2019-07-14 16:04:38 -03:00
FspSrv Refactoring result codes (#731) 2019-07-14 16:04:38 -03:00
Hid Little rewrite of HID input (#723) 2019-07-22 20:15:46 +03:00
Ldr Add a new JIT compiler for CPU code (#693) 2019-08-08 21:56:22 +03:00
Lm Refactoring result codes (#731) 2019-07-14 16:04:38 -03:00
Lr Fix private on some call (#733) 2019-07-14 23:22:53 +02:00
Mm Refactoring result codes (#731) 2019-07-14 16:04:38 -03:00
Ncm Refactoring commands handling (#728) 2019-07-11 22:13:43 -03:00
Nfc/Nfp Little rewrite of HID input (#723) 2019-07-22 20:15:46 +03:00
Nifm Refactoring result codes (#731) 2019-07-14 16:04:38 -03:00
Ns Refactoring result codes (#731) 2019-07-14 16:04:38 -03:00
Nv Add a new JIT compiler for CPU code (#693) 2019-08-08 21:56:22 +03:00
Pctl Refactoring result codes (#731) 2019-07-14 16:04:38 -03:00
Pl Refactoring result codes (#731) 2019-07-14 16:04:38 -03:00
Pm Refactoring result codes (#731) 2019-07-14 16:04:38 -03:00
Prepo Refactoring result codes (#731) 2019-07-14 16:04:38 -03:00
Psm Refactoring result codes (#731) 2019-07-14 16:04:38 -03:00
Set Refactoring result codes (#731) 2019-07-14 16:04:38 -03:00
Sfdnsres Refactoring result codes (#731) 2019-07-14 16:04:38 -03:00
Sm Refactoring result codes (#731) 2019-07-14 16:04:38 -03:00
Spl Refactoring result codes (#731) 2019-07-14 16:04:38 -03:00
Ssl Refactoring result codes (#731) 2019-07-14 16:04:38 -03:00
Time Add a new JIT compiler for CPU code (#693) 2019-08-08 21:56:22 +03:00
Vi Add a new JIT compiler for CPU code (#693) 2019-08-08 21:56:22 +03:00
CommandAttributes.cs Refactoring commands handling (#728) 2019-07-11 22:13:43 -03:00
DummyService.cs Refactoring commands handling (#728) 2019-07-11 22:13:43 -03:00
IIpcService.cs Refactoring commands handling (#728) 2019-07-11 22:13:43 -03:00
IpcService.cs Update IpcService.cs (#734) 2019-07-14 23:30:47 +02:00
ServiceAttributes.cs IPC services refactoring (#726) 2019-07-10 12:59:54 -03:00
ServiceConfiguration.cs IPC services refactoring (#726) 2019-07-10 12:59:54 -03:00