mirror of
https://github.com/libretro/RetroArch
synced 2025-01-25 06:35:30 +00:00
Do not report dupes.
This commit is contained in:
parent
f3f4efe304
commit
79353f861c
@ -350,7 +350,7 @@ static bool load_plain(const char *path)
|
||||
SSNES_ERR("CG error: %s\n", cgGetErrorString(err));
|
||||
if (listing_v[i])
|
||||
SSNES_ERR("Vertex:\n%s\n", listing_v[i]);
|
||||
if (listing_f[i])
|
||||
else if (listing_f[i])
|
||||
SSNES_ERR("Fragment:\n%s\n", listing_f[i]);
|
||||
goto error;
|
||||
}
|
||||
@ -878,7 +878,7 @@ static bool load_preset(const char *path)
|
||||
SSNES_ERR("CG error: %s\n", cgGetErrorString(err));
|
||||
if (listing_v)
|
||||
SSNES_ERR("Vertex:\n%s\n", listing_v);
|
||||
if (listing_f)
|
||||
else if (listing_f)
|
||||
SSNES_ERR("Fragment:\n%s\n", listing_f);
|
||||
|
||||
free(listing_f);
|
||||
|
Loading…
x
Reference in New Issue
Block a user