sysclk: include libnx globally
This commit is contained in:
@@ -27,19 +27,20 @@
|
|||||||
|
|
||||||
#pragma once
|
#pragma once
|
||||||
#include <cstdint>
|
#include <cstdint>
|
||||||
|
#include <switch.h> // include libnx
|
||||||
#ifdef __cplusplus
|
#ifdef __cplusplus
|
||||||
#include "cpp_util.hpp"
|
#include "cpp_util.hpp"
|
||||||
extern "C" {
|
extern "C" {
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
typedef std::uint32_t Result;
|
// typedef std::uint32_t Result;
|
||||||
typedef std::uint32_t u32;
|
// typedef std::uint32_t u32;
|
||||||
typedef std::int32_t s32;
|
// typedef std::int32_t s32;
|
||||||
typedef std::uint64_t u64;
|
// typedef std::uint64_t u64;
|
||||||
typedef std::int64_t s64;
|
// typedef std::int64_t s64;
|
||||||
typedef std::uint8_t u8;
|
// typedef std::uint8_t u8;
|
||||||
typedef std::int16_t s16;
|
// typedef std::int16_t s16;
|
||||||
typedef std::uint16_t u16;
|
// typedef std::uint16_t u16;
|
||||||
|
|
||||||
#include "sysclk/ipc.h"
|
#include "sysclk/ipc.h"
|
||||||
#include "sysclk/board.h"
|
#include "sysclk/board.h"
|
||||||
|
|||||||
@@ -35,5 +35,5 @@ typedef enum
|
|||||||
SysClkError_Generic = 0,
|
SysClkError_Generic = 0,
|
||||||
SysClkError_ConfigNotLoaded = 1,
|
SysClkError_ConfigNotLoaded = 1,
|
||||||
SysClkError_ConfigSaveFailed = 2,
|
SysClkError_ConfigSaveFailed = 2,
|
||||||
HocClkError_SocThermFail = 3,
|
// HocClkError_SocThermFail = 3,
|
||||||
} SysClkError;
|
} SysClkError;
|
||||||
|
|||||||
Reference in New Issue
Block a user