Make some log messages uniform
This commit is contained in:
parent
bc2bdd5734
commit
06cfdfdcbb
|
@ -126,7 +126,7 @@ bool input_autoconfigure_get_swap_override(void)
|
||||||
|
|
||||||
/* Adds an index for devices with the same name,
|
/* Adds an index for devices with the same name,
|
||||||
* so they can be identified in the GUI. */
|
* so they can be identified in the GUI. */
|
||||||
void input_autoconfigure_joypad_reindex_devices()
|
void input_autoconfigure_joypad_reindex_devices(void)
|
||||||
{
|
{
|
||||||
unsigned i, j, k;
|
unsigned i, j, k;
|
||||||
|
|
||||||
|
@ -204,11 +204,11 @@ static int input_autoconfigure_joypad_try_from_conf(config_file_t *conf,
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
if (string_is_empty(params->name))
|
if (string_is_empty(params->name))
|
||||||
RARCH_LOG("[autoconf]: failed match because params->name was empty\n");
|
RARCH_LOG("[Autoconf]: failed match because params->name was empty\n");
|
||||||
else if (string_is_empty(ident))
|
else if (string_is_empty(ident))
|
||||||
RARCH_LOG("[autoconf]: failed match because ident was empty\n");
|
RARCH_LOG("[Autoconf]: failed match because ident was empty\n");
|
||||||
else
|
else
|
||||||
RARCH_LOG("[autoconf]: failed match because ident '%s' != param->name '%s'\n",
|
RARCH_LOG("[Autoconf]: failed match because ident '%s' != param->name '%s'\n",
|
||||||
ident, params->name);
|
ident, params->name);
|
||||||
}
|
}
|
||||||
#endif
|
#endif
|
||||||
|
@ -348,7 +348,7 @@ static bool input_autoconfigure_joypad_from_conf_dir(
|
||||||
|
|
||||||
if (!list)
|
if (!list)
|
||||||
{
|
{
|
||||||
RARCH_LOG("[autoconf]: No profiles found.\n");
|
RARCH_LOG("[Autoconf]: No profiles found.\n");
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -381,7 +381,7 @@ static bool input_autoconfigure_joypad_from_conf_dir(
|
||||||
|
|
||||||
config_get_config_path(conf, conf_path, sizeof(conf_path));
|
config_get_config_path(conf, conf_path, sizeof(conf_path));
|
||||||
|
|
||||||
RARCH_LOG("[autoconf]: selected configuration: %s\n", conf_path);
|
RARCH_LOG("[Autoconf]: selected configuration: %s\n", conf_path);
|
||||||
input_autoconfigure_joypad_add(conf, params, task);
|
input_autoconfigure_joypad_add(conf, params, task);
|
||||||
config_file_free(conf);
|
config_file_free(conf);
|
||||||
ret = 1;
|
ret = 1;
|
||||||
|
@ -484,7 +484,8 @@ static const blissbox_pad_type_t* input_autoconfigure_get_blissbox_pad_type_win3
|
||||||
|
|
||||||
if (hDeviceInfo == INVALID_HANDLE_VALUE)
|
if (hDeviceInfo == INVALID_HANDLE_VALUE)
|
||||||
{
|
{
|
||||||
RARCH_ERR("[Autoconf]: Error in SetupDiGetClassDevs: %d.\n", GetLastError());
|
RARCH_ERR("[Autoconf]: Error in SetupDiGetClassDevs: %d.\n",
|
||||||
|
GetLastError());
|
||||||
goto done;
|
goto done;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -799,7 +800,7 @@ static void input_autoconfigure_override_handler(autoconfig_params_t *params)
|
||||||
{
|
{
|
||||||
const blissbox_pad_type_t *pad;
|
const blissbox_pad_type_t *pad;
|
||||||
char name[255] = {0};
|
char name[255] = {0};
|
||||||
int index = params->pid - BLISSBOX_PID;
|
int index = params->pid - BLISSBOX_PID;
|
||||||
|
|
||||||
RARCH_LOG("[Autoconf]: Bliss-Box detected. Getting pad type...\n");
|
RARCH_LOG("[Autoconf]: Bliss-Box detected. Getting pad type...\n");
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue