https://github.com/libsdl-org/SDL/commit/095ea57f94922b43635b2999787fde3da92d4d06
From 095ea57f94922b43635b2999787fde3da92d4d06 Mon Sep 17 00:00:00 2001
From: "Ryan C. Gordon" <[EMAIL REDACTED]>
Date: Sat, 22 Jul 2023 11:46:00 -0400
Subject: [PATCH] pspaudio: Patched to compile.
---
src/audio/psp/SDL_pspaudio.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/audio/psp/SDL_pspaudio.c b/src/audio/psp/SDL_pspaudio.c
index 6c9e0dcbf073..903bc9a504fb 100644
--- a/src/audio/psp/SDL_pspaudio.c
+++ b/src/audio/psp/SDL_pspaudio.c
@@ -82,7 +82,7 @@ static int PSPAUDIO_OpenDevice(SDL_AudioDevice *device)
device->hidden->channel = sceAudioSRCChReserve(device->sample_frames, device->spec.freq, 2);
}
- if (_this->hidden->channel < 0) {
+ if (device->hidden->channel < 0) {
return SDL_SetError("Couldn't reserve hardware channel");
}