interuption -> interruption

This commit is contained in:
qndel committed 2024-09-18 08:50:22 +02:00
1 parent 72ca47e372
commit 0f1f28109f
1 file changed
+2 -2
+2 -2
View File
@@ -129,14 +129,14 @@ SDL_bool SDL_TryLockSpinlock(SDL_SpinLock *lock)
#elif defined(PS2)
uint32_t oldintr;
bool res = false;
// disable interuption
// disable interruption
oldintr = DIntr();
if (*lock == 0) {
*lock = 1;
res = true;
}
// enable interuption
// enable interruption
if (oldintr) {
EIntr();
}