mirror of
https://github.com/libretro/RetroArch.git
synced 2024-11-23 07:59:42 +00:00
(PSL1GHT) Fix function prototype for 'button' pad driver
(Task save) Fix warning in platform port
This commit is contained in:
parent
c6e86caeed
commit
13a2d2419f
@ -397,7 +397,7 @@ static uint16_t transform_buttons(const padData *data)
|
||||
);
|
||||
}
|
||||
|
||||
static int16_t ps3_joypad_button(unsigned port, uint16_t joykey)
|
||||
static int32_t ps3_joypad_button(unsigned port, uint16_t joykey)
|
||||
{
|
||||
uint16_t state = 0;
|
||||
if (port >= MAX_PADS)
|
||||
|
@ -738,7 +738,7 @@ static void task_save_handler(retro_task_t *task)
|
||||
|
||||
if (!state->data)
|
||||
{
|
||||
size_t size;
|
||||
size_t size = 0;
|
||||
state->data = content_get_serialized_data(&size);
|
||||
state->size = (ssize_t)size;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user