IOS/NCD: Implement Lock/Unlock more accurately

NCD returns an error if it receives a request to lock the driver
when it is already locked.

Emulating this may seem pointless, but it turns out PPC-side code
expects NCD to return an error and will immediately fail and stop
initialising wireless stuff if NCD succeeds.
This commit is contained in:
Léo Lam committed 2020-12-28 16:12:04 +01:00
1 parent 3f68aceaca
commit 4fea832f49
3 files changed
+51 -2

No files matched your search

+1 -1
View File
@@ -74,7 +74,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
constexpr u32 STATE_VERSION = 126; // Last changed in PR 9348
constexpr u32 STATE_VERSION = 127; // Last changed in PR 9300 (temp)
// Maps savestate versions to Dolphin versions.
// Versions after 42 don't need to be added to this list,