mirror of
https://github.com/Atmosphere-NX/Atmosphere.git
synced 2025-05-23 03:06:52 -04:00
fatal: update for new-ipc
This commit is contained in:
parent
8d16d2152b
commit
799c158b86
9 changed files with 113 additions and 73 deletions
|
@ -38,7 +38,7 @@ namespace sts::fatal::srv {
|
|||
|
||||
/* Task implementation. */
|
||||
Result AdjustClockTask::AdjustClockForModule(PcvModule module, u32 hz) {
|
||||
if (GetRuntimeFirmwareVersion() >= FirmwareVersion_800) {
|
||||
if (hos::GetVersion() >= hos::Version_800) {
|
||||
/* On 8.0.0+, convert to module id + use clkrst API. */
|
||||
PcvModuleId module_id;
|
||||
R_TRY(pcvGetModuleId(&module_id, module));
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue