mirror of
https://github.com/libretro/RetroArch
synced 2025-01-27 03:35:22 +00:00
(PS3/360) Small indent cleanups
This commit is contained in:
parent
dee9b69661
commit
5932829fd8
@ -159,10 +159,12 @@ static bool xdk360_key_pressed(void *data, int key)
|
||||
return retval;
|
||||
}
|
||||
|
||||
const input_driver_t input_xdk360 = {
|
||||
xdk360_input_initialize,
|
||||
xdk360_input_poll,
|
||||
xdk360_input_state,
|
||||
xdk360_key_pressed,
|
||||
xdk360_free_input,
|
||||
"xdk360"};
|
||||
const input_driver_t input_xdk360 =
|
||||
{
|
||||
xdk360_input_initialize,
|
||||
xdk360_input_poll,
|
||||
xdk360_input_state,
|
||||
xdk360_key_pressed,
|
||||
xdk360_free_input,
|
||||
"xdk360"
|
||||
};
|
||||
|
@ -1038,7 +1038,7 @@ static void get_all_available_resolutions (void)
|
||||
resolution_count = 0;
|
||||
for (i = 0; i < num_videomodes; i++)
|
||||
if (cellVideoOutGetResolutionAvailability(CELL_VIDEO_OUT_PRIMARY, videomode[i], CELL_VIDEO_OUT_ASPECT_AUTO,0))
|
||||
resolution_count++;
|
||||
resolution_count++;
|
||||
|
||||
g_console.supported_resolutions = (uint32_t*)malloc(resolution_count * sizeof(uint32_t));
|
||||
|
||||
@ -1075,8 +1075,8 @@ void ps3_next_resolution (void)
|
||||
{
|
||||
if(g_console.current_resolution_index+1 < g_console.supported_resolutions_count)
|
||||
{
|
||||
g_console.current_resolution_index++;
|
||||
g_console.current_resolution_id = g_console.supported_resolutions[g_console.current_resolution_index];
|
||||
g_console.current_resolution_index++;
|
||||
g_console.current_resolution_id = g_console.supported_resolutions[g_console.current_resolution_index];
|
||||
}
|
||||
}
|
||||
|
||||
@ -1084,8 +1084,8 @@ void ps3_previous_resolution (void)
|
||||
{
|
||||
if(g_console.current_resolution_index)
|
||||
{
|
||||
g_console.current_resolution_index--;
|
||||
g_console.current_resolution_id = g_console.supported_resolutions[g_console.current_resolution_index];
|
||||
g_console.current_resolution_index--;
|
||||
g_console.current_resolution_id = g_console.supported_resolutions[g_console.current_resolution_index];
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user