mirror of
https://github.com/Atmosphere-NX/Atmosphere.git
synced 2025-02-09 19:25:10 +01:00
Fix read64le
This commit is contained in:
parent
82b4c6763d
commit
78c8fe36fe
@ -22,7 +22,7 @@ static inline uint32_t read32be(const unsigned char *dword, size_t offset) {
|
|||||||
}
|
}
|
||||||
|
|
||||||
static inline uint64_t read64le(const void *qword, size_t offset) {
|
static inline uint64_t read64le(const void *qword, size_t offset) {
|
||||||
return *(uint32_t *)((uintptr_t)dword + offset);
|
return *(uint64_t *)((uintptr_t)dword + offset);
|
||||||
}
|
}
|
||||||
|
|
||||||
static __attribute__((noinline)) bool check_32bit_additive_overflow(uint32_t a, uint32_t b) {
|
static __attribute__((noinline)) bool check_32bit_additive_overflow(uint32_t a, uint32_t b) {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user