mirror of
https://github.com/libretro/RetroArch
synced 2025-04-02 16:20:39 +00:00
Silence warning
This commit is contained in:
parent
cd8fffe5d3
commit
a33ec20c21
@ -511,11 +511,11 @@ static bool secondary_core_create(runloop_state_t *runloop_st,
|
|||||||
{
|
{
|
||||||
if (port < sys_info->ports.size)
|
if (port < sys_info->ports.size)
|
||||||
{
|
{
|
||||||
unsigned device = (port < (int)num_active_users) ?
|
unsigned device = (port < num_active_users)
|
||||||
runloop_st->port_map[port] : RETRO_DEVICE_NONE;
|
? runloop_st->port_map[port]
|
||||||
|
: RETRO_DEVICE_NONE;
|
||||||
runloop_st->secondary_core.retro_set_controller_port_device(
|
runloop_st->secondary_core.retro_set_controller_port_device(
|
||||||
port, device);
|
(unsigned)port, device);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user