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.
This commit is contained in:
parent
23162ac722
commit
45b59f01b8
|
@ -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];
|
||||
|
||||
|
|
|
@ -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,
|
||||
|
|
Loading…
Reference in New Issue