mirror of
https://github.com/FEX-Emu/FEX.git
synced 2026-10-09 19:00:20 +02:00
Adds 11 new emulated syscalls
This commit is contained in:
1 parent
d2bfb39b54
commit
472ec5f5cf
6 files changed
+407
-62
No files matched your search
@@ -50,6 +50,9 @@ void OpDispatchBuilder::SyscallOp(OpcodeArgs) {
|
||||
FEXCore::X86State::REG_R9,
|
||||
};
|
||||
|
||||
auto NewRIP = _Constant(Op->PC);
|
||||
_StoreContext(8, offsetof(FEXCore::Core::CPUState, rip), NewRIP);
|
||||
|
||||
auto SyscallOp = _Syscall(
|
||||
_LoadContext(8, offsetof(FEXCore::Core::CPUState, gregs) + GPRIndexes[0] * 8),
|
||||
_LoadContext(8, offsetof(FEXCore::Core::CPUState, gregs) + GPRIndexes[1] * 8),
|
||||
|
||||
Reference in new issue
Block a user