diff --git a/retroarch.c b/retroarch.c index d6455f149c..24e0ae91d5 100644 --- a/retroarch.c +++ b/retroarch.c @@ -168,7 +168,6 @@ #include "retroarch.h" #ifdef HAVE_RUNAHEAD -#include "runahead/dirty_input.h" #include "runahead/copy_load_info.h" #include "runahead/mylist.h" #include "runahead/mem_util.h" @@ -706,6 +705,9 @@ static bool secondary_core_create(void) static void secondary_core_input_poll_null(void) { } +static int16_t input_state_get_last(unsigned port, + unsigned device, unsigned index, unsigned id); + bool secondary_core_run_use_last_input(void) { retro_input_poll_t old_poll_function; @@ -13477,7 +13479,7 @@ static void input_state_set_last(unsigned port, unsigned device, element->state[id] = value; } -int16_t input_state_get_last(unsigned port, +static int16_t input_state_get_last(unsigned port, unsigned device, unsigned index, unsigned id) { unsigned i; diff --git a/runahead/dirty_input.h b/runahead/dirty_input.h deleted file mode 100644 index 6428fe45ba..0000000000 --- a/runahead/dirty_input.h +++ /dev/null @@ -1,14 +0,0 @@ -#ifndef __DIRTY_INPUT_H___ -#define __DIRTY_INPUT_H___ - -#include -#include - -RETRO_BEGIN_DECLS - -int16_t input_state_get_last(unsigned port, - unsigned device, unsigned index, unsigned id); - -RETRO_END_DECLS - -#endif