diff options
Diffstat (limited to 'libpsn00b/psxapi/sys/entercriticalsection.s')
| -rw-r--r-- | libpsn00b/psxapi/sys/entercriticalsection.s | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/libpsn00b/psxapi/sys/entercriticalsection.s b/libpsn00b/psxapi/sys/entercriticalsection.s new file mode 100644 index 0000000..ce9a368 --- /dev/null +++ b/libpsn00b/psxapi/sys/entercriticalsection.s @@ -0,0 +1,11 @@ +.set noreorder +.section .text + +.global EnterCriticalSection +.type EnterCriticalSection, @function +EnterCriticalSection: + addiu $a0, $0, 1 + syscall 0 + jr $ra + nop +
\ No newline at end of file |
