From 219dd6c5d5cde25dedb82c624c80e9eccc0f8727 Mon Sep 17 00:00:00 2001 From: twinaphex Date: Thu, 28 Jan 2016 18:53:25 +0100 Subject: [PATCH] Cleanup --- runloop.h | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/runloop.h b/runloop.h index c202588541..b3231e6d1b 100644 --- a/runloop.h +++ b/runloop.h @@ -117,6 +117,8 @@ enum runloop_ctl_state RUNLOOP_CTL_PREPARE_DUMMY }; +typedef int (*transfer_cb_t)(void *data, size_t len); + typedef struct rarch_dir_list { struct string_list *list; @@ -287,8 +289,10 @@ global_t *global_get_ptr(void); * * Run Libretro core in RetroArch for one frame. * - * Returns: 0 on successful run, 1 if we have to wait until button input in order - * to wake up the loop, -1 if we forcibly quit out of the RetroArch iteration loop. + * Returns: 0 on successful run, + * Returns 1 if we have to wait until button input in order + * to wake up the loop. + * Returns -1 if we forcibly quit out of the RetroArch iteration loop. **/ int runloop_iterate(unsigned *sleep_ms); @@ -302,7 +306,6 @@ const char *runloop_msg_queue_pull(void); bool runloop_ctl(enum runloop_ctl_state state, void *data); -typedef int (*transfer_cb_t)(void *data, size_t len); #ifdef __cplusplus }