diff --git a/Source/Core/Core/IPC_HLE/WII_IPC_HLE.cpp b/Source/Core/Core/IPC_HLE/WII_IPC_HLE.cpp index ea22ea17ef..a10818c711 100644 --- a/Source/Core/Core/IPC_HLE/WII_IPC_HLE.cpp +++ b/Source/Core/Core/IPC_HLE/WII_IPC_HLE.cpp @@ -68,8 +68,8 @@ static std::map> s_device_map; static std::mutex s_device_map_mutex; // STATE_TO_SAVE -#define IPC_MAX_FDS 0x18 -#define ES_MAX_COUNT 2 +constexpr u8 IPC_MAX_FDS = 0x18; +constexpr u8 ES_MAX_COUNT = 2; static std::shared_ptr s_fdmap[IPC_MAX_FDS]; static std::shared_ptr s_es_handles[ES_MAX_COUNT];