From f3e040230772f978540a71aea43dfde200992922 Mon Sep 17 00:00:00 2001 From: "John Wilbert M. Villamor" Date: Sat, 6 Apr 2019 10:11:07 +0800 Subject: First commit --- libpsn00b/psxapi/sys/entercriticalsection.s | 11 +++++++++++ 1 file changed, 11 insertions(+) create mode 100644 libpsn00b/psxapi/sys/entercriticalsection.s (limited to 'libpsn00b/psxapi/sys/entercriticalsection.s') 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 -- cgit v1.2.3