diff options
| author | Léo Lam <leo@innovatetechnologi.es> | 2017-01-08 20:54:13 +0100 |
|---|---|---|
| committer | Léo Lam <leo@innovatetechnologi.es> | 2017-01-08 21:16:10 +0100 |
| commit | 45b59f01b8406216b4e1ee06397184aafd9de6cc (patch) | |
| tree | 9e63ac4a63876ce18d9f854efed01a0447cbadcf /Source/Core | |
| parent | 23162ac7222b0900da1ab4d63f57c64a221c58e1 (diff) | |
IOS HLE: Allow up to 3 ES handles
Confirmed by a hardware test and a quick diassembly of /dev/es.
I'm not aware of anything that opens several ES handles, but
technically, this fixes a small inaccuracy in IOS HLE.
Diffstat (limited to 'Source/Core')
| -rw-r--r-- | Source/Core/Core/IPC_HLE/WII_IPC_HLE.cpp | 2 | ||||
| -rw-r--r-- | Source/Core/Core/State.cpp | 2 |
2 files 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 cb3e43fc51..3a40dfd28f 100644 --- a/Source/Core/Core/IPC_HLE/WII_IPC_HLE.cpp +++ b/Source/Core/Core/IPC_HLE/WII_IPC_HLE.cpp @@ -65,7 +65,7 @@ static std::mutex s_device_map_mutex; // STATE_TO_SAVE constexpr u8 IPC_MAX_FDS = 0x18; -constexpr u8 ES_MAX_COUNT = 2; +constexpr u8 ES_MAX_COUNT = 3; 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]; diff --git a/Source/Core/Core/State.cpp b/Source/Core/Core/State.cpp index 3d4a9b3744..36be7c6447 100644 --- a/Source/Core/Core/State.cpp +++ b/Source/Core/Core/State.cpp @@ -71,7 +71,7 @@ static Common::Event g_compressAndDumpStateSyncEvent; static std::thread g_save_thread; // Don't forget to increase this after doing changes on the savestate system -static const u32 STATE_VERSION = 66; // Last changed in PR 4607 +static const u32 STATE_VERSION = 67; // Last changed in PR 4634 // Maps savestate versions to Dolphin versions. // Versions after 42 don't need to be added to this list, |
