Add more ui syscall stubs

This commit is contained in:
momo5502
2025-05-17 18:28:53 +02:00
parent ede9bfa403
commit bd4e27469f
4 changed files with 61 additions and 15 deletions

View File

@@ -153,7 +153,8 @@ inline void write_syscall_result(const syscall_context& c, const uint64_t result
}
}
inline void forward_syscall(const syscall_context& c, NTSTATUS (*handler)())
template <typename Result>
void forward_syscall(const syscall_context& c, Result (*handler)())
{
const auto ip = c.emu.read_instruction_pointer();