Correct stubs for AcquireRecursiveLock and ReleaseRecursiveLock for EOSM.202
Created originally on Bitbucket by jpaana (Jarno Paananen)
Was already merged in Bitbucket before import, marked as merged by the import user
While running FIO_SeekSkipFile stub tests, I noticed that recursive lock tests failed. Checked the rom and noticed that the functions seemed quite different from 5D3 variants (Create function was the same) so I searched for similar functions and now the test passes:
[Pass] rlock = rlock ? rlock : CreateRecursiveLock(0) => 0x84e0042 [Pass] AcquireRecursiveLock(rlock, 500) => 0x0 [Pass] AcquireRecursiveLock(rlock, 500) => 0x0 [Pass] ReleaseRecursiveLock(rlock) => 0x0 [Pass] ReleaseRecursiveLock(rlock) => 0x0 [Pass] ReleaseRecursiveLock(rlock) => 0xf
Could explain quite a lot of mysterious crashes on the M...