fixed linux issue with enums

This commit is contained in:
georgemoralis 2024-03-31 17:37:09 +03:00
parent 186fa35f13
commit a21722a1db
1 changed files with 2 additions and 6 deletions

View File

@ -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 <magic_enum.hpp>
#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<OrbisSysModule> {
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));