mirror of
https://git.eden-emu.dev/eden-emu/eden.git
synced 2025-10-15 16:17:49 +00:00
Fix Zephyron commits
This commit is contained in:
parent
777111dfb4
commit
e26a256a44
2 changed files with 4 additions and 4 deletions
|
@ -205,7 +205,7 @@ void FaultManagedAllocator::ExceptionHandlerThread() {
|
|||
|
||||
void FaultManagedAllocator::Initialize(void* base, size_t size) {
|
||||
#if defined(__linux__) || defined(__ANDROID__)
|
||||
uffd = syscall(SYS_userfaultfd, O_CLOEXEC | O_NONBLOCK);
|
||||
uffd = static_cast<int>(syscall(SYS_userfaultfd, O_CLOEXEC | O_NONBLOCK));
|
||||
if (uffd < 0) {
|
||||
LOG_ERROR(Render_Vulkan, "Failed to create userfaultfd, fault handling disabled");
|
||||
return;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue