mirror of
https://github.com/FEX-Emu/FEX.git
synced 2026-10-06 12:00:17 +02:00
x32/FD: Fix readahead upper offset type
This should be a uint32_t
This commit is contained in:
1 parent
d2f096187c
commit
a90a7dbec7
1 file changed
+1
-1
@@ -944,7 +944,7 @@ void RegisterFD(FEX::HLE::SyscallHandler* Handler) {
|
||||
});
|
||||
|
||||
REGISTER_SYSCALL_IMPL_X32(
|
||||
readahead, [](FEXCore::Core::CpuStateFrame* Frame, int fd, uint32_t offset_low, uint64_t offset_high, size_t count) -> uint64_t {
|
||||
readahead, [](FEXCore::Core::CpuStateFrame* Frame, int fd, uint32_t offset_low, uint32_t offset_high, size_t count) -> uint64_t {
|
||||
uint64_t Offset = offset_high;
|
||||
Offset <<= 32;
|
||||
Offset |= offset_low;
|
||||
|
||||
Reference in new issue
Block a user