WII_IPC_HLE: Replace #defines with constexpr
This commit is contained in:
parent
9abfa54c9d
commit
00268443ca
|
@ -68,8 +68,8 @@ static std::map<u32, std::shared_ptr<IWII_IPC_HLE_Device>> 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<IWII_IPC_HLE_Device> s_fdmap[IPC_MAX_FDS];
|
||||
static std::shared_ptr<IWII_IPC_HLE_Device> s_es_handles[ES_MAX_COUNT];
|
||||
|
||||
|
|
Loading…
Reference in New Issue