From 00268443caebd13e1b6ccac6c9539869acabf7d4 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?L=C3=A9o=20Lam?= <leo@innovatetechnologi.es>
Date: Thu, 5 Jan 2017 00:41:42 +0100
Subject: [PATCH] WII_IPC_HLE: Replace #defines with constexpr

---
 Source/Core/Core/IPC_HLE/WII_IPC_HLE.cpp | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

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