2
1
Fork 0
mirror of https://github.com/yuzu-emu/yuzu.git synced 2024-07-04 23:31:19 +01:00

set_sys: Move constants to anonymous namespace

This commit is contained in:
Zach Hilman 2019-03-11 11:16:35 -04:00
parent debc7442f2
commit cd2921a047

View file

@ -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());