Explorar o código

pspaudio: Patched to compile.

Ryan C. Gordon %!s(int64=2) %!d(string=hai) anos
pai
achega
095ea57f94
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      src/audio/psp/SDL_pspaudio.c

+ 1 - 1
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");
     }