mirror of
https://github.com/libretro/RetroArch
synced 2025-03-21 22:20:59 +00:00
(PS3) Buildfixes
This commit is contained in:
parent
fdc74d95a8
commit
6bf30bb714
@ -1191,7 +1191,7 @@ static void gl_init_textures_data(gl_t *gl)
|
|||||||
static void gl_init_textures(gl_t *gl, const video_info_t *video)
|
static void gl_init_textures(gl_t *gl, const video_info_t *video)
|
||||||
{
|
{
|
||||||
unsigned i;
|
unsigned i;
|
||||||
GLenum internal_fmt, texture_type, texture_fmt;
|
GLenum internal_fmt, texture_type = 0, texture_fmt = 0;
|
||||||
|
|
||||||
(void)texture_type;
|
(void)texture_type;
|
||||||
(void)texture_fmt;
|
(void)texture_fmt;
|
||||||
|
@ -280,7 +280,7 @@ static void ps3_joypad_destroy(void)
|
|||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
inpout_device_driver_t ps3_joypad = {
|
input_device_driver_t ps3_joypad = {
|
||||||
ps3_joypad_init,
|
ps3_joypad_init,
|
||||||
ps3_joypad_query_pad,
|
ps3_joypad_query_pad,
|
||||||
ps3_joypad_destroy,
|
ps3_joypad_destroy,
|
||||||
|
@ -1231,6 +1231,8 @@ void menu_entries_cbs_init_bind_ok(menu_file_list_cbs_t *cbs,
|
|||||||
if (!menu)
|
if (!menu)
|
||||||
return;
|
return;
|
||||||
|
|
||||||
|
RARCH_LOG("path: %s, label: %s, elem0 : %s, elem1: %s\n", path, label, elem0, elem1);
|
||||||
|
|
||||||
cbs->action_ok = action_ok_lookup_setting;
|
cbs->action_ok = action_ok_lookup_setting;
|
||||||
|
|
||||||
if (elem0[0] != '\0' && is_rdb_entry(elem0))
|
if (elem0[0] != '\0' && is_rdb_entry(elem0))
|
||||||
|
@ -383,7 +383,6 @@ int menu_input_set_keyboard_bind_mode(void *data,
|
|||||||
{
|
{
|
||||||
case MENU_INPUT_BIND_NONE:
|
case MENU_INPUT_BIND_NONE:
|
||||||
return -1;
|
return -1;
|
||||||
break;
|
|
||||||
case MENU_INPUT_BIND_SINGLE:
|
case MENU_INPUT_BIND_SINGLE:
|
||||||
keybind = (struct retro_keybind*)setting->value.keybind;
|
keybind = (struct retro_keybind*)setting->value.keybind;
|
||||||
|
|
||||||
@ -438,7 +437,6 @@ int menu_input_set_input_device_bind_mode(void *data,
|
|||||||
{
|
{
|
||||||
case MENU_INPUT_BIND_NONE:
|
case MENU_INPUT_BIND_NONE:
|
||||||
return -1;
|
return -1;
|
||||||
break;
|
|
||||||
case MENU_INPUT_BIND_SINGLE:
|
case MENU_INPUT_BIND_SINGLE:
|
||||||
keybind = (struct retro_keybind*)setting->value.keybind;
|
keybind = (struct retro_keybind*)setting->value.keybind;
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user