Fix network naming
[ps4-sdk.git] / source / syscall.c
blobff3f5cbe78332e7c87ebd04e97dd4ca14c2a885f
1 #include "syscall.h"
3 unsigned long syscall(unsigned long n, ...) {
4 register unsigned long rax asm("rax");
5 register unsigned long rcx asm("rcx");
6 register unsigned long r10 asm("r10");
8 r10 = rcx;
9 (void)r10;
10 rax = 0;
11 asm("syscall");
12 return rax;