HLE: fix global context for md5 and sha1#21497
HLE: fix global context for md5 and sha1#21497GermanAizek wants to merge 2 commits intohrydgard:masterfrom
Conversation
|
This should fix such problems indeed. But I'm not aware of any game ever using multiple contexts like that. I'll look at this in detail soon. |
Maybe it will help if game is a modern homebrew, some people make modern indie games on N64 as https://github.com/mwpenny/portal64-still-alive |
|
This does seem totally fine except one issue: Are we sure that the context sizes are the same on the PSP as in our libraries? If it happens that the PSP context for one of these hashes is smaller, we could end up overwriting other data. |
Check this commit 20d393d |
@hrydgard,
does this fix issue when multiple md5 and sha1 contexts are called?