diff --git a/runahead/copy_load_info.h b/runahead/copy_load_info.h index 5671f5b753..fced73a2d6 100644 --- a/runahead/copy_load_info.h +++ b/runahead/copy_load_info.h @@ -1,15 +1,17 @@ #ifndef __COPY_LOAD_INFO_H__ #define __COPY_LOAD_INFO_H__ -#include -#include #include +#include + +#include #include "../core.h" RETRO_BEGIN_DECLS void set_load_content_info(const retro_ctx_load_content_info_t *ctx); + void set_last_core_type(enum rarch_core_type type); RETRO_END_DECLS diff --git a/runahead/mem_util.h b/runahead/mem_util.h index aedcea23d3..4ddbe21521 100644 --- a/runahead/mem_util.h +++ b/runahead/mem_util.h @@ -4,9 +4,10 @@ #include #include -#include #include +#include + #define FREE(xxxx) if ((xxxx) != NULL) { free((void*)(xxxx)); } (xxxx) = NULL RETRO_BEGIN_DECLS diff --git a/runahead/mylist.h b/runahead/mylist.h index cf35333938..1ec3e9c325 100644 --- a/runahead/mylist.h +++ b/runahead/mylist.h @@ -1,8 +1,9 @@ #ifndef __MYLIST_H__ #define __MYLIST_H__ -#include +#include #include +#include RETRO_BEGIN_DECLS @@ -19,11 +20,18 @@ typedef struct MyList_t } MyList; void *mylist_add_element(MyList *list); + void mylist_resize(MyList *list, int newSize, bool runConstructor); -void mylist_create(MyList **list_p, int initialCapacity, constructor_t constructor, destructor_t destructor); + +void mylist_create(MyList **list_p, int initialCapacity, + constructor_t constructor, destructor_t destructor); + void mylist_destroy(MyList **list_p); + void mylist_assign(MyList *list, int index, void *value); + void mylist_remove_at(MyList *list, int index); + void mylist_pop_front(MyList *list); RETRO_END_DECLS diff --git a/runahead/run_ahead.h b/runahead/run_ahead.h index f1508dd657..8868ce345b 100644 --- a/runahead/run_ahead.h +++ b/runahead/run_ahead.h @@ -1,7 +1,9 @@ #ifndef __RUN_AHEAD_H__ #define __RUN_AHEAD_H__ +#include #include + #include RETRO_BEGIN_DECLS diff --git a/runahead/secondary_core.h b/runahead/secondary_core.h index 324c882c6d..9eb4190d09 100644 --- a/runahead/secondary_core.h +++ b/runahead/secondary_core.h @@ -1,9 +1,11 @@ #ifndef __SECONDARY_CORE_H__ #define __SECONDARY_CORE_H__ -#include +#include #include +#include + #include "../core_type.h" RETRO_BEGIN_DECLS