The problem was that stuff like *(u32*(array)) is not
endian-safe, and thus CBA codes would fail to properly
decrypt on the Mac. Replacing it with READ32LE and
WRITE32LE (macros in Port.h - which would expand to what it
was on a little-endian system as before) fixed the problem.
That's the juste of the fix - I can't post it as it would
take me too much time to find the fixes (as I changed much
more than that in my sources).
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Logged In: YES
user_id=785003
I read on ngemu you fixed the bug yourself.
Could you post your changes, so I include them in the CVS
sources ?
Logged In: YES
user_id=992204
The problem was that stuff like *(u32*(array)) is not
endian-safe, and thus CBA codes would fail to properly
decrypt on the Mac. Replacing it with READ32LE and
WRITE32LE (macros in Port.h - which would expand to what it
was on a little-endian system as before) fixed the problem.
That's the juste of the fix - I can't post it as it would
take me too much time to find the fixes (as I changed much
more than that in my sources).