mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-02-02 08:54:15 +00:00
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;
|
static std::mutex s_device_map_mutex;
|
||||||
|
|
||||||
// STATE_TO_SAVE
|
// STATE_TO_SAVE
|
||||||
#define IPC_MAX_FDS 0x18
|
constexpr u8 IPC_MAX_FDS = 0x18;
|
||||||
#define ES_MAX_COUNT 2
|
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_fdmap[IPC_MAX_FDS];
|
||||||
static std::shared_ptr<IWII_IPC_HLE_Device> s_es_handles[ES_MAX_COUNT];
|
static std::shared_ptr<IWII_IPC_HLE_Device> s_es_handles[ES_MAX_COUNT];
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user