소스 검색

pspaudio: Patched to compile.

Ryan C. Gordon 2 년 전
부모
커밋
095ea57f94
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  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");
     }