diff options
author | bunnei <bunneidev@gmail.com> | 2021-02-19 03:38:23 +0100 |
---|---|---|
committer | bunnei <bunneidev@gmail.com> | 2021-03-21 22:45:02 +0100 |
commit | 57625177289624051e107578ccfce749a083f51a (patch) | |
tree | 621cbc34ccd83fbe64e6d9e5cd4f7ca2bb4db6f5 /src/core/hle/kernel/board/nintendo/nx/k_system_control.h | |
parent | hle: kernel: KMemoryManager: Add CalculateManagementOverheadSize. (diff) | |
download | yuzu-57625177289624051e107578ccfce749a083f51a.tar yuzu-57625177289624051e107578ccfce749a083f51a.tar.gz yuzu-57625177289624051e107578ccfce749a083f51a.tar.bz2 yuzu-57625177289624051e107578ccfce749a083f51a.tar.lz yuzu-57625177289624051e107578ccfce749a083f51a.tar.xz yuzu-57625177289624051e107578ccfce749a083f51a.tar.zst yuzu-57625177289624051e107578ccfce749a083f51a.zip |
Diffstat (limited to 'src/core/hle/kernel/board/nintendo/nx/k_system_control.h')
-rw-r--r-- | src/core/hle/kernel/board/nintendo/nx/k_system_control.h | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/src/core/hle/kernel/board/nintendo/nx/k_system_control.h b/src/core/hle/kernel/board/nintendo/nx/k_system_control.h new file mode 100644 index 000000000..3fde61971 --- /dev/null +++ b/src/core/hle/kernel/board/nintendo/nx/k_system_control.h @@ -0,0 +1,22 @@ +// Copyright 2021 yuzu Emulator Project +// Licensed under GPLv2 or any later version +// Refer to the license.txt file included. + +#pragma once + +#include "common/common_types.h" + +namespace Kernel::Board::Nintendo::Nx { + +class KSystemControl { +public: + class Init { + public: + static bool ShouldIncreaseThreadResourceLimit(); + }; + + static u64 GenerateRandomRange(u64 min, u64 max); + static u64 GenerateRandomU64(); +}; + +} // namespace Kernel::Board::Nintendo::Nx |