commit | 7e4902bf6bfcf0acef0889bf4e3fae04a8839079 | [log] [tgz] |
---|---|---|
author | Franklin Wei <git@fwei.tk> | Wed Jul 24 21:01:44 2019 -0400 |
committer | Franklin Wei <git@fwei.tk> | Wed Jul 24 21:02:11 2019 -0400 |
tree | 27af47d9ca18184c0f52c76282284c6fa016148e | |
parent | 7bef453e0318acee10adbc2b561ba7d2f4b81fe3 [diff] |
quake: fix errorneous endian-correcting reads ef9ee89 introduced Read{Big,Little}{Short,Long,Float} functions to safely read a value in memory. These incorrectly take char*, which causes them to output erroneous 0xff bytes when given bytes with bit 7 set. Change-Id: I9531172301aecfdacae405d2f782f662608ce6df