mirror of
https://github.com/libretro/RetroArch.git
synced 2024-11-28 10:40:39 +00:00
More CXX_BUILD buildfixes
This commit is contained in:
parent
8660994765
commit
f5dc1b653d
@ -5015,7 +5015,7 @@ bool menu_displaylist_ctl(enum menu_displaylist_ctl_state type,
|
||||
menu_entries_append_enum(info->list,
|
||||
system,
|
||||
"",
|
||||
0,
|
||||
MSG_UNKNOWN,
|
||||
FILE_TYPE_NONE, 0, 0);
|
||||
}
|
||||
|
||||
@ -5033,7 +5033,7 @@ bool menu_displaylist_ctl(enum menu_displaylist_ctl_state type,
|
||||
menu_entries_append_enum(info->list,
|
||||
serial,
|
||||
"",
|
||||
0,
|
||||
MSG_UNKNOWN,
|
||||
FILE_TYPE_NONE, 0, 0);
|
||||
}
|
||||
|
||||
@ -5048,7 +5048,7 @@ bool menu_displaylist_ctl(enum menu_displaylist_ctl_state type,
|
||||
menu_entries_append_enum(info->list,
|
||||
atip_string,
|
||||
"",
|
||||
0,
|
||||
MSG_UNKNOWN,
|
||||
FILE_TYPE_NONE, 0, 0);
|
||||
}
|
||||
|
||||
@ -5060,18 +5060,18 @@ bool menu_displaylist_ctl(enum menu_displaylist_ctl_state type,
|
||||
menu_entries_append_enum(info->list,
|
||||
tracks_string,
|
||||
"",
|
||||
0,
|
||||
MSG_UNKNOWN,
|
||||
FILE_TYPE_NONE, 0, 0);
|
||||
}
|
||||
|
||||
{
|
||||
int i;
|
||||
unsigned i;
|
||||
|
||||
for (i = 0; i < toc->num_tracks; i++)
|
||||
{
|
||||
char track_string[16] = {"Track "};
|
||||
char mode_string[16] = {" - Mode: "};
|
||||
char size_string[32] = {" - Size: "};
|
||||
char track_string[16] = {"Track "};
|
||||
char mode_string[16] = {" - Mode: "};
|
||||
char size_string[32] = {" - Size: "};
|
||||
char length_string[32] = {" - Length: "};
|
||||
|
||||
snprintf(track_string + strlen(track_string), sizeof(track_string) - strlen(track_string), "%d:", i + 1);
|
||||
@ -5079,7 +5079,7 @@ bool menu_displaylist_ctl(enum menu_displaylist_ctl_state type,
|
||||
menu_entries_append_enum(info->list,
|
||||
track_string,
|
||||
"",
|
||||
0,
|
||||
MSG_UNKNOWN,
|
||||
FILE_TYPE_NONE, 0, 0);
|
||||
|
||||
if (toc->track[i].audio)
|
||||
@ -5090,7 +5090,7 @@ bool menu_displaylist_ctl(enum menu_displaylist_ctl_state type,
|
||||
menu_entries_append_enum(info->list,
|
||||
mode_string,
|
||||
"",
|
||||
0,
|
||||
MSG_UNKNOWN,
|
||||
FILE_TYPE_NONE, 0, 0);
|
||||
|
||||
snprintf(size_string + strlen(size_string), sizeof(size_string) - strlen(size_string), "%.1f MB", toc->track[i].track_bytes / 1000.0 / 1000.0);
|
||||
@ -5098,7 +5098,7 @@ bool menu_displaylist_ctl(enum menu_displaylist_ctl_state type,
|
||||
menu_entries_append_enum(info->list,
|
||||
size_string,
|
||||
"",
|
||||
0,
|
||||
MSG_UNKNOWN,
|
||||
FILE_TYPE_NONE, 0, 0);
|
||||
|
||||
{
|
||||
@ -5113,7 +5113,7 @@ bool menu_displaylist_ctl(enum menu_displaylist_ctl_state type,
|
||||
menu_entries_append_enum(info->list,
|
||||
length_string,
|
||||
"",
|
||||
0,
|
||||
MSG_UNKNOWN,
|
||||
FILE_TYPE_NONE, 0, 0);
|
||||
}
|
||||
}
|
||||
|
@ -3389,8 +3389,7 @@ bool rarch_environment_cb(unsigned cmd, void *data)
|
||||
RARCH_LOG("Environ GET_INPUT_DEVICE_CAPABILITIES.\n");
|
||||
if (!current_input->get_capabilities || !current_input_data)
|
||||
return false;
|
||||
else
|
||||
*mask = input_driver_get_capabilities();
|
||||
*mask = input_driver_get_capabilities();
|
||||
break;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user