set_sys: Move constants to anonymous namespace
This commit is contained in:
parent
debc7442f2
commit
cd2921a047
@ -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 New Issue
Block a user