WII_IPC_HLE: Replace #defines with constexpr

This commit is contained in:
Léo Lam 2017-01-05 00:41:42 +01:00
parent 9abfa54c9d
commit 00268443ca
1 changed files with 2 additions and 2 deletions

View File

@ -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];