mirror of
https://github.com/libretro/RetroArch
synced 2025-04-07 13:23:32 +00:00
Simplify input_config_get_prefix
This commit is contained in:
parent
b16f526540
commit
a204bcbf81
18
retroarch.c
18
retroarch.c
@ -25896,16 +25896,14 @@ static const char *input_config_get_prefix(unsigned user, bool meta)
|
|||||||
"input_player15",
|
"input_player15",
|
||||||
"input_player16",
|
"input_player16",
|
||||||
};
|
};
|
||||||
const char *prefix = bind_user_prefix[user];
|
if (meta)
|
||||||
|
{
|
||||||
if (user == 0)
|
if (user == 0)
|
||||||
return meta ? "input" : prefix;
|
return "input";
|
||||||
|
/* Don't bother with meta bind for anyone else than first user. */
|
||||||
if (!meta)
|
return NULL;
|
||||||
return prefix;
|
}
|
||||||
|
return bind_user_prefix[user];
|
||||||
/* Don't bother with meta bind for anyone else than first user. */
|
|
||||||
return NULL;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
Loading…
x
Reference in New Issue
Block a user