(OSX) Build fix
This commit is contained in:
parent
21dff0771e
commit
3497fb4d8c
|
@ -272,7 +272,12 @@ NSWindowDelegate>
|
||||||
case ST_BOOL:
|
case ST_BOOL:
|
||||||
return BOXINT(*setting->value.boolean);
|
return BOXINT(*setting->value.boolean);
|
||||||
default:
|
default:
|
||||||
return BOXSTRING(setting_data_get_string_representation(setting, buffer, sizeof(buffer)));
|
{
|
||||||
|
setting_data_get_string_representation(setting, buffer, sizeof(buffer));
|
||||||
|
if (buffer[0] == '\0')
|
||||||
|
strlcpy(buffer, "N/A", sizeof(buffer));
|
||||||
|
return BOXSTRING(buffer);
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -1214,6 +1214,8 @@ static int menu_settings_iterate(unsigned action, rarch_setting_t *setting)
|
||||||
|
|
||||||
unsigned scroll_speed = (max(driver.menu->scroll_accel, 2) - 2) / 4 + 1;
|
unsigned scroll_speed = (max(driver.menu->scroll_accel, 2) - 2) / 4 + 1;
|
||||||
unsigned fast_scroll_speed = 4 + 4 * scroll_speed;
|
unsigned fast_scroll_speed = 4 + 4 * scroll_speed;
|
||||||
|
|
||||||
|
(void)fast_scroll_speed;
|
||||||
|
|
||||||
switch (action)
|
switch (action)
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in New Issue