mirror of
https://github.com/libretro/RetroArch.git
synced 2025-04-02 10:51:52 -04:00
Cleanups
This commit is contained in:
parent
0249661acc
commit
cfbeed0c29
2 changed files with 4 additions and 16 deletions
|
@ -168,7 +168,6 @@
|
||||||
#include "retroarch.h"
|
#include "retroarch.h"
|
||||||
|
|
||||||
#ifdef HAVE_RUNAHEAD
|
#ifdef HAVE_RUNAHEAD
|
||||||
#include "runahead/dirty_input.h"
|
|
||||||
#include "runahead/copy_load_info.h"
|
#include "runahead/copy_load_info.h"
|
||||||
#include "runahead/mylist.h"
|
#include "runahead/mylist.h"
|
||||||
#include "runahead/mem_util.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 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)
|
bool secondary_core_run_use_last_input(void)
|
||||||
{
|
{
|
||||||
retro_input_poll_t old_poll_function;
|
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;
|
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 device, unsigned index, unsigned id)
|
||||||
{
|
{
|
||||||
unsigned i;
|
unsigned i;
|
||||||
|
|
|
@ -1,14 +0,0 @@
|
||||||
#ifndef __DIRTY_INPUT_H___
|
|
||||||
#define __DIRTY_INPUT_H___
|
|
||||||
|
|
||||||
#include <boolean.h>
|
|
||||||
#include <retro_common_api.h>
|
|
||||||
|
|
||||||
RETRO_BEGIN_DECLS
|
|
||||||
|
|
||||||
int16_t input_state_get_last(unsigned port,
|
|
||||||
unsigned device, unsigned index, unsigned id);
|
|
||||||
|
|
||||||
RETRO_END_DECLS
|
|
||||||
|
|
||||||
#endif
|
|
Loading…
Add table
Reference in a new issue