mirror of
https://github.com/libretro/RetroArch
synced 2025-04-18 05:43:34 +00:00
(360) Build fixes
This commit is contained in:
parent
a682319eee
commit
ed1b012250
@ -288,7 +288,7 @@ const char *path_get_extension(const char *path)
|
|||||||
|
|
||||||
char *path_remove_extension(char *path)
|
char *path_remove_extension(char *path)
|
||||||
{
|
{
|
||||||
char *last = strrchr(path_basename(path), '.');
|
char *last = (char*)strrchr(path_basename(path), '.');
|
||||||
if (*last)
|
if (*last)
|
||||||
*last = '\0';
|
*last = '\0';
|
||||||
return last;
|
return last;
|
||||||
@ -516,7 +516,7 @@ void fill_pathname(char *out_path, const char *in_path, const char *replace, siz
|
|||||||
char tmp_path[PATH_MAX];
|
char tmp_path[PATH_MAX];
|
||||||
|
|
||||||
rarch_assert(strlcpy(tmp_path, in_path, sizeof(tmp_path)) < sizeof(tmp_path));
|
rarch_assert(strlcpy(tmp_path, in_path, sizeof(tmp_path)) < sizeof(tmp_path));
|
||||||
char *tok = strrchr(path_basename(tmp_path), '.');
|
char *tok = (char*)strrchr(path_basename(tmp_path), '.');
|
||||||
if (tok)
|
if (tok)
|
||||||
*tok = '\0';
|
*tok = '\0';
|
||||||
|
|
||||||
|
@ -21,7 +21,7 @@
|
|||||||
|
|
||||||
#include "rmenu_xui.h"
|
#include "rmenu_xui.h"
|
||||||
|
|
||||||
#include "utils/file_browser.h"
|
#include "file_browser.h"
|
||||||
|
|
||||||
#include "../../console/rarch_console.h"
|
#include "../../console/rarch_console.h"
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user