diff --git a/src/core/libraries/libscesysmodule.cpp b/src/core/libraries/libscesysmodule.cpp index d47ff136..43ff4416 100644 --- a/src/core/libraries/libscesysmodule.cpp +++ b/src/core/libraries/libscesysmodule.cpp @@ -2,6 +2,8 @@ // SPDX-License-Identifier: GPL-2.0-or-later // Generated By moduleGenerator +#define MAGIC_ENUM_RANGE_MIN 0 +#define MAGIC_ENUM_RANGE_MAX 300 #include #include "common/logging/log.h" #include "error_codes.h" @@ -39,12 +41,6 @@ int PS4_SYSV_ABI sceSysmoduleIsLoadedInternal() { return ORBIS_OK; } -template <> -struct magic_enum::customize::enum_range { - static constexpr int min = 0; - static constexpr int max = 300; -}; - int PS4_SYSV_ABI sceSysmoduleLoadModule(OrbisSysModule id) { auto color_name = magic_enum::enum_name(id); LOG_ERROR(Lib_SysModule, "(DUMMY) called module = {}", magic_enum::enum_name(id));