Pardon me, you're right. The byte-wise access solves the alignment problem.terryxq wrote:I don't think so. macro READU32/16 uses for le, psp is le.DoctorRockit wrote:Actually the solution you posted does not deal with alignment, but rather with little-endian to big-endian conversion (or vice versa).
Search found 5 matches
- Fri Dec 07, 2007 3:07 am
- Forum: PSP Development
- Topic: [SOLVED] Problem with Pointers!!! Please Help.
- Replies: 8
- Views: 3653
- Fri Dec 07, 2007 12:46 am
- Forum: PSP Development
- Topic: [SOLVED] Problem with Pointers!!! Please Help.
- Replies: 8
- Views: 3653
Actually the solution you posted does not deal with alignment, but rather with little-endian to big-endian conversion (or vice versa).
See:
http://en.wikipedia.org/wiki/Data_structure_alignment
versus
http://en.wikipedia.org/wiki/Endianess
See:
http://en.wikipedia.org/wiki/Data_structure_alignment
versus
http://en.wikipedia.org/wiki/Endianess
- Tue Dec 04, 2007 8:16 pm
- Forum: PSP Development
- Topic: Thread creation problem
- Replies: 10
- Views: 3287
- Thu Nov 22, 2007 6:18 pm
- Forum: PSP Development
- Topic: Getting different prompt in Cygwin
- Replies: 3
- Views: 1584
- Thu Nov 22, 2007 6:12 pm
- Forum: PSP Development
- Topic: [VERY POSSIBLE, Read Y!] Custom IPL with "HIBERNATE&quo
- Replies: 6
- Views: 2445
No Why Nawt? Because, among other things, you're forgetting about the current state of all devices which must be backed up and restored as well. Another thing is that you have have to backup and restore the complete context of the current thread of execution, just as an operating system with preemp...