mirror of
https://github.com/libretro/RetroArch
synced 2025-03-21 22:20:59 +00:00
Pass device pointer to input_remapping_state
This commit is contained in:
parent
a0d0345f36
commit
9d74dbdef6
@ -129,7 +129,7 @@ void input_remapping_set_defaults(void)
|
||||
}
|
||||
|
||||
void input_remapping_state(unsigned port,
|
||||
unsigned device, unsigned *idx, unsigned *id)
|
||||
unsigned *device, unsigned *idx, unsigned *id)
|
||||
{
|
||||
settings_t *settings = config_get_ptr();
|
||||
|
||||
|
@ -47,7 +47,7 @@ bool input_remapping_save_file(const char *path);
|
||||
void input_remapping_set_defaults(void);
|
||||
|
||||
void input_remapping_state(unsigned port,
|
||||
unsigned device, unsigned *idx, unsigned *id);
|
||||
unsigned *device, unsigned *idx, unsigned *id);
|
||||
|
||||
#ifdef __cplusplus
|
||||
}
|
||||
|
@ -30,6 +30,7 @@
|
||||
#include "retroarch.h"
|
||||
#include "performance.h"
|
||||
#include "input/keyboard_line.h"
|
||||
#include "input/input_remapping.h"
|
||||
#include "audio/audio_utils.h"
|
||||
#include "retroarch_logger.h"
|
||||
#include "record/record_driver.h"
|
||||
@ -432,7 +433,7 @@ static int16_t input_state(unsigned port, unsigned device,
|
||||
}
|
||||
|
||||
if (settings->input.remap_binds_enable)
|
||||
input_remapping_state(port, device, &idx, &id);
|
||||
input_remapping_state(port, &device, &idx, &id);
|
||||
|
||||
if (!driver->block_libretro_input)
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user