mirror of
https://github.com/libretro/RetroArch.git
synced 2024-11-23 16:09:47 +00:00
C89
This commit is contained in:
parent
a74ef2214d
commit
7fd4d5013d
@ -753,9 +753,9 @@ struct pcm
|
||||
/** Flags that were passed to @ref pcm_open */
|
||||
unsigned int flags;
|
||||
/** Whether the PCM is running or not */
|
||||
int running:1;
|
||||
unsigned int running:1;
|
||||
/** Whether or not the PCM has been prepared */
|
||||
int prepared:1;
|
||||
unsigned int prepared:1;
|
||||
/** The number of underruns that have occured */
|
||||
int underruns;
|
||||
/** Size of the buffer */
|
||||
|
@ -62,6 +62,7 @@ static bool joypad_is_end_of_list(joypad_connection_t *pad) {
|
||||
joypad_connection_t *pad_connection_init(unsigned pads)
|
||||
{
|
||||
unsigned i;
|
||||
joypad_connection_t *joyconn;
|
||||
|
||||
if(pads > MAX_USERS)
|
||||
{
|
||||
@ -70,8 +71,7 @@ joypad_connection_t *pad_connection_init(unsigned pads)
|
||||
pads = MAX_USERS;
|
||||
}
|
||||
|
||||
joypad_connection_t *joyconn = (joypad_connection_t*)
|
||||
calloc(pads+1, sizeof(joypad_connection_t));
|
||||
joyconn = (joypad_connection_t*)calloc(pads+1, sizeof(joypad_connection_t));
|
||||
|
||||
if (!joyconn)
|
||||
return NULL;
|
||||
|
@ -56,7 +56,7 @@ enum sinc_window
|
||||
{
|
||||
SINC_WINDOW_NONE = 0,
|
||||
SINC_WINDOW_KAISER,
|
||||
SINC_WINDOW_LANCZOS,
|
||||
SINC_WINDOW_LANCZOS
|
||||
};
|
||||
|
||||
/* For the little amount of taps we're using,
|
||||
|
Loading…
Reference in New Issue
Block a user