sysclk: include libnx globally

This commit is contained in:
souldbminersmwc
2026-01-21 18:23:30 -05:00
parent 051c637dd8
commit 662473b2c0
2 changed files with 10 additions and 9 deletions

View File

@@ -27,19 +27,20 @@
#pragma once
#include <cstdint>
#include <switch.h> // include libnx
#ifdef __cplusplus
#include "cpp_util.hpp"
extern "C" {
#endif
typedef std::uint32_t Result;
typedef std::uint32_t u32;
typedef std::int32_t s32;
typedef std::uint64_t u64;
typedef std::int64_t s64;
typedef std::uint8_t u8;
typedef std::int16_t s16;
typedef std::uint16_t u16;
// typedef std::uint32_t Result;
// typedef std::uint32_t u32;
// typedef std::int32_t s32;
// typedef std::uint64_t u64;
// typedef std::int64_t s64;
// typedef std::uint8_t u8;
// typedef std::int16_t s16;
// typedef std::uint16_t u16;
#include "sysclk/ipc.h"
#include "sysclk/board.h"

View File

@@ -35,5 +35,5 @@ typedef enum
SysClkError_Generic = 0,
SysClkError_ConfigNotLoaded = 1,
SysClkError_ConfigSaveFailed = 2,
HocClkError_SocThermFail = 3,
// HocClkError_SocThermFail = 3,
} SysClkError;