mirror of
https://github.com/libretro/RetroArch
synced 2025-04-09 21:45:45 +00:00
file_path.c) Cleanup
This commit is contained in:
parent
a9cf718e75
commit
0edd97d5db
@ -621,10 +621,6 @@ const char *path_basename(const char *path)
|
|||||||
**/
|
**/
|
||||||
bool path_is_absolute(const char *path)
|
bool path_is_absolute(const char *path)
|
||||||
{
|
{
|
||||||
#if defined(__wiiu__) || defined(VITA)
|
|
||||||
const char *seperator = NULL;
|
|
||||||
#endif
|
|
||||||
|
|
||||||
if (string_is_empty(path))
|
if (string_is_empty(path))
|
||||||
return false;
|
return false;
|
||||||
|
|
||||||
@ -639,9 +635,11 @@ bool path_is_absolute(const char *path)
|
|||||||
string_starts_with(path + 1, ":\\"))
|
string_starts_with(path + 1, ":\\"))
|
||||||
return true;
|
return true;
|
||||||
#elif defined(__wiiu__) || defined(VITA)
|
#elif defined(__wiiu__) || defined(VITA)
|
||||||
seperator = strchr(path, ':');
|
{
|
||||||
if (seperator && (seperator[1] == '/'))
|
const char *seperator = strchr(path, ':');
|
||||||
return true;
|
if (seperator && (seperator[1] == '/'))
|
||||||
|
return true;
|
||||||
|
}
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
return false;
|
return false;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user