mirror of
https://github.com/Ryujinx/SDL.git
synced 2025-01-08 22:55:28 +00:00
Fix remaining -Wimplicit-fallthrough warnings
This commit is contained in:
parent
85fecbb10b
commit
d2a2787783
|
@ -174,7 +174,7 @@ int audio_initOpenCloseQuitAudio()
|
||||||
desired.samples = 4096;
|
desired.samples = 4096;
|
||||||
desired.callback = _audio_testCallback;
|
desired.callback = _audio_testCallback;
|
||||||
desired.userdata = NULL;
|
desired.userdata = NULL;
|
||||||
|
break;
|
||||||
case 1:
|
case 1:
|
||||||
/* Set custom desired spec */
|
/* Set custom desired spec */
|
||||||
desired.freq = 48000;
|
desired.freq = 48000;
|
||||||
|
@ -264,7 +264,6 @@ int audio_pauseUnpauseAudio()
|
||||||
desired.callback = _audio_testCallback;
|
desired.callback = _audio_testCallback;
|
||||||
desired.userdata = NULL;
|
desired.userdata = NULL;
|
||||||
break;
|
break;
|
||||||
|
|
||||||
case 1:
|
case 1:
|
||||||
/* Set custom desired spec */
|
/* Set custom desired spec */
|
||||||
desired.freq = 48000;
|
desired.freq = 48000;
|
||||||
|
|
|
@ -209,6 +209,7 @@ void loop()
|
||||||
if (event.key.keysym.sym != SDLK_ESCAPE) {
|
if (event.key.keysym.sym != SDLK_ESCAPE) {
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
SDL_FALLTHROUGH;
|
||||||
case SDL_QUIT:
|
case SDL_QUIT:
|
||||||
done = SDL_TRUE;
|
done = SDL_TRUE;
|
||||||
break;
|
break;
|
||||||
|
|
Loading…
Reference in a new issue