mirror of
https://github.com/FEX-Emu/FEX.git
synced 2026-10-07 06:00:16 +02:00
~0 is used as an invalid syscall indicator to signify that it can be passed through
21 lines
426 B
C++
21 lines
426 B
C++
/*
|
|
$info$
|
|
tags: LinuxSyscalls|syscalls-shared
|
|
$end_info$
|
|
*/
|
|
|
|
#include "Tests/LinuxSyscalls/Syscalls.h"
|
|
#include "Tests/LinuxSyscalls/x64/Syscalls.h"
|
|
#include "Tests/LinuxSyscalls/x32/Syscalls.h"
|
|
|
|
#include <unistd.h>
|
|
|
|
namespace FEX::HLE {
|
|
void RegisterTime() {
|
|
REGISTER_SYSCALL_IMPL_PASS(pause, [](FEXCore::Core::CpuStateFrame *Frame) -> uint64_t {
|
|
uint64_t Result = ::pause();
|
|
SYSCALL_ERRNO();
|
|
});
|
|
}
|
|
}
|