(libretro_version_1.c) Style nits

This commit is contained in:
twinaphex 2015-07-08 17:22:35 +02:00
parent 1cc1f6d782
commit c4617f0f6b

View File

@ -56,7 +56,9 @@
static void video_frame(const void *data, unsigned width, static void video_frame(const void *data, unsigned width,
unsigned height, size_t pitch) unsigned height, size_t pitch)
{ {
unsigned output_width = 0, output_height = 0, output_pitch = 0; unsigned output_width = 0;
unsigned output_height = 0;
unsigned output_pitch = 0;
const char *msg = NULL; const char *msg = NULL;
driver_t *driver = driver_get_ptr(); driver_t *driver = driver_get_ptr();
global_t *global = global_get_ptr(); global_t *global = global_get_ptr();
@ -238,7 +240,8 @@ static int16_t input_state(unsigned port, unsigned device,
* *
* Poll pressed buttons/keys on currently active overlay. * Poll pressed buttons/keys on currently active overlay.
**/ **/
static INLINE void input_poll_overlay(input_overlay_t *overlay_device, float opacity) static INLINE void input_poll_overlay(
input_overlay_t *overlay_device, float opacity)
{ {
input_overlay_state_t old_key_state; input_overlay_state_t old_key_state;
unsigned i, j, device; unsigned i, j, device;
@ -258,7 +261,8 @@ static INLINE void input_poll_overlay(input_overlay_t *overlay_device, float opa
RARCH_DEVICE_POINTER_SCREEN : RETRO_DEVICE_POINTER; RARCH_DEVICE_POINTER_SCREEN : RETRO_DEVICE_POINTER;
for (i = 0; for (i = 0;
input_driver_state(NULL, 0, device, i, RETRO_DEVICE_ID_POINTER_PRESSED); input_driver_state(NULL, 0, device, i,
RETRO_DEVICE_ID_POINTER_PRESSED);
i++) i++)
{ {
input_overlay_state_t polled_data; input_overlay_state_t polled_data;