diff options
| author | bunnei <bunneidev@gmail.com> | 2021-02-18 18:38:23 -0800 |
|---|---|---|
| committer | bunnei <bunneidev@gmail.com> | 2021-03-21 14:45:02 -0700 |
| commit | 57625177289624051e107578ccfce749a083f51a (patch) | |
| tree | 621cbc34ccd83fbe64e6d9e5cd4f7ca2bb4db6f5 /src/core/hle/kernel/k_system_control.h | |
| parent | a439867f2c09f536e01ffdd4da9c01604cb9df45 (diff) | |
hle: kernel: KSystemControl: Update to reflect board-specific behavior.
Diffstat (limited to 'src/core/hle/kernel/k_system_control.h')
| -rw-r--r-- | src/core/hle/kernel/k_system_control.h | 18 |
1 files changed, 11 insertions, 7 deletions
diff --git a/src/core/hle/kernel/k_system_control.h b/src/core/hle/kernel/k_system_control.h index 1d5b64ffa..d755082c2 100644 --- a/src/core/hle/kernel/k_system_control.h +++ b/src/core/hle/kernel/k_system_control.h @@ -6,14 +6,18 @@ #include "common/common_types.h" -namespace Kernel { +#define BOARD_NINTENDO_NX + +#ifdef BOARD_NINTENDO_NX -class KSystemControl { -public: - KSystemControl() = default; +#include "core/hle/kernel/board/nintendo/nx/k_system_control.h" - static u64 GenerateRandomRange(u64 min, u64 max); - static u64 GenerateRandomU64(); -}; +namespace Kernel { + +using Kernel::Board::Nintendo::Nx::KSystemControl; } // namespace Kernel + +#else +#error "Unknown board for KSystemControl" +#endif |
