mirror of
https://git.suyu.dev/suyu/suyu.git
synced 2024-11-23 23:32:44 +01:00
set_sys: Move constants to anonymous namespace
This commit is contained in:
parent
debc7442f2
commit
cd2921a047
1 changed files with 1 additions and 1 deletions
|
@ -13,6 +13,7 @@
|
||||||
|
|
||||||
namespace Service::Set {
|
namespace Service::Set {
|
||||||
|
|
||||||
|
namespace {
|
||||||
constexpr u64 SYSTEM_VERSION_FILE_MINOR_REVISION_OFFSET = 0x05;
|
constexpr u64 SYSTEM_VERSION_FILE_MINOR_REVISION_OFFSET = 0x05;
|
||||||
|
|
||||||
enum class GetFirmwareVersionType {
|
enum class GetFirmwareVersionType {
|
||||||
|
@ -20,7 +21,6 @@ enum class GetFirmwareVersionType {
|
||||||
Version2,
|
Version2,
|
||||||
};
|
};
|
||||||
|
|
||||||
namespace {
|
|
||||||
void GetFirmwareVersionImpl(Kernel::HLERequestContext& ctx, GetFirmwareVersionType type) {
|
void GetFirmwareVersionImpl(Kernel::HLERequestContext& ctx, GetFirmwareVersionType type) {
|
||||||
LOG_WARNING(Service_SET, "called - Using hardcoded firmware version '{}'",
|
LOG_WARNING(Service_SET, "called - Using hardcoded firmware version '{}'",
|
||||||
FileSys::SystemArchive::GetLongDisplayVersion());
|
FileSys::SystemArchive::GetLongDisplayVersion());
|
||||||
|
|
Loading…
Reference in a new issue