mirror of
https://github.com/libretro/RetroArch
synced 2025-03-29 22:20:21 +00:00
Replace more instances of string_is_equal
This commit is contained in:
parent
f9bc2d3783
commit
284e6b2994
@ -410,7 +410,7 @@ static void *hlsl_init(void *data, const char *path)
|
||||
if (!hlsl_data)
|
||||
return NULL;
|
||||
|
||||
if (path && string_is_equal(path_get_extension(path), ".cgp"))
|
||||
if (path && (memcmp(path_get_extension(path), ".cgp", 4) == 0))
|
||||
{
|
||||
if (!hlsl_load_preset(hlsl_data, d3d, path))
|
||||
goto error;
|
||||
|
@ -6436,7 +6436,7 @@ static bool setting_append_list(
|
||||
general_write_handler,
|
||||
general_read_handler);
|
||||
|
||||
if (!string_is_equal(settings->record.driver, "null"))
|
||||
if (memcmp(settings->record.driver, "null", 4) != 0)
|
||||
{
|
||||
CONFIG_DIR(
|
||||
list, list_info,
|
||||
@ -6592,7 +6592,7 @@ static bool setting_append_list(
|
||||
START_SUB_GROUP(list, list_info, "State",
|
||||
&group_info, &subgroup_info, parent_group);
|
||||
|
||||
if (!string_is_equal(settings->camera.driver, "null"))
|
||||
if (memcmp(settings->camera.driver, "null", 4) != 0)
|
||||
{
|
||||
CONFIG_BOOL(
|
||||
list, list_info,
|
||||
@ -6610,7 +6610,7 @@ static bool setting_append_list(
|
||||
SD_FLAG_NONE);
|
||||
}
|
||||
|
||||
if (!string_is_equal(settings->location.driver, "null"))
|
||||
if (memcmp(settings->location.driver, "null", 4) != 0)
|
||||
{
|
||||
CONFIG_BOOL(
|
||||
list, list_info,
|
||||
|
Loading…
x
Reference in New Issue
Block a user