Formatting

This commit is contained in:
Ivan Epifanov 2021-03-08 19:28:58 +03:00 committed by Sam Lantinga
parent 4f9fde8766
commit a4ddb175f1
13 changed files with 281 additions and 289 deletions

View File

@ -171,10 +171,6 @@ VITAAUD_Init(SDL_AudioDriverImpl * impl)
impl->HasCaptureSupport = 1; impl->HasCaptureSupport = 1;
impl->OnlyHasDefaultInputDevice = 1; impl->OnlyHasDefaultInputDevice = 1;
*/
/*
impl->DetectDevices = DSOUND_DetectDevices;
impl->Deinitialize = DSOUND_Deinitialize;
*/ */
return 1; /* this audio target is available. */ return 1; /* this audio target is available. */
} }

View File

@ -41,5 +41,5 @@ struct SDL_PrivateAudioData {
}; };
#endif /* _SDL_vitaaudio_h */ #endif /* _SDL_vitaaudio_h */
/* vim: ts=4 sw=4
*/ /* vi: set ts=4 sw=4 expandtab: */

View File

@ -208,7 +208,6 @@ VITA_JoystickSetDevicePlayerIndex(int device_index, int player_index)
{ {
} }
/* Function to open a joystick for use. /* Function to open a joystick for use.
The joystick to open is specified by the device index. The joystick to open is specified by the device index.
This should fill the nbuttons and naxes fields of the joystick structure. This should fill the nbuttons and naxes fields of the joystick structure.
@ -388,7 +387,6 @@ VITA_JoystickSetSensorsEnabled(SDL_Joystick *joystick, SDL_bool enabled)
return SDL_Unsupported(); return SDL_Unsupported();
} }
SDL_JoystickDriver SDL_VITA_JoystickDriver = SDL_JoystickDriver SDL_VITA_JoystickDriver =
{ {
VITA_JoystickInit, VITA_JoystickInit,
@ -414,8 +412,6 @@ SDL_JoystickDriver SDL_VITA_JoystickDriver =
VITA_JoystickQuit, VITA_JoystickQuit,
}; };
#endif /* SDL_JOYSTICK_VITA */ #endif /* SDL_JOYSTICK_VITA */
/* vim: ts=4 sw=4 /* vi: set ts=4 sw=4 expandtab: */
*/

View File

@ -19,4 +19,5 @@
3. This notice may not be removed or altered from any source distribution. 3. This notice may not be removed or altered from any source distribution.
*/ */
#include "../../SDL_internal.h" #include "../../SDL_internal.h"
/* vi: set ts=4 sw=4 expandtab: */ /* vi: set ts=4 sw=4 expandtab: */

View File

@ -159,5 +159,4 @@ int SDL_SemPost(SDL_sem *sem)
#endif /* SDL_THREAD_VITA */ #endif /* SDL_THREAD_VITA */
/* vim: ts=4 sw=4 /* vi: set ts=4 sw=4 expandtab: */
*/

View File

@ -108,5 +108,4 @@ int SDL_SYS_SetThreadPriority(SDL_ThreadPriority priority)
#endif /* SDL_THREAD_VITA */ #endif /* SDL_THREAD_VITA */
/* vim: ts=4 sw=4 /* vi: set ts=4 sw=4 expandtab: */
*/

View File

@ -22,3 +22,5 @@
#include <psp2/types.h> #include <psp2/types.h>
typedef SceUID SYS_ThreadHandle; typedef SceUID SYS_ThreadHandle;
/* vi: set ts=4 sw=4 expandtab: */

View File

@ -87,5 +87,4 @@ void SDL_Delay(Uint32 ms)
#endif /* SDL_TIMER_VITA */ #endif /* SDL_TIMER_VITA */
/* vim: ts=4 sw=4 /* vi: set ts=4 sw=4 expandtab: */
*/