mirror of
https://github.com/libretro/RetroArch
synced 2025-04-10 15:45:19 +00:00
Style nits
This commit is contained in:
parent
822e2fd0d4
commit
e193f7a22a
@ -76,29 +76,29 @@ enum
|
|||||||
|
|
||||||
#if defined(HAVE_LOGGER) || defined(HAVE_FILE_LOGGER)
|
#if defined(HAVE_LOGGER) || defined(HAVE_FILE_LOGGER)
|
||||||
static devoptab_t dotab_stdout = {
|
static devoptab_t dotab_stdout = {
|
||||||
"stdout", // device name
|
"stdout", /* device name */
|
||||||
0, // size of file structure
|
0, /* size of file structure */
|
||||||
NULL, // device open
|
NULL, /* device open */
|
||||||
NULL, // device close
|
NULL, /* device close */
|
||||||
NULL, // device write
|
NULL, /* device write */
|
||||||
NULL, // device read
|
NULL, /* device read */
|
||||||
NULL, // device seek
|
NULL, /* device seek */
|
||||||
NULL, // device fstat
|
NULL, /* device fstat */
|
||||||
NULL, // device stat
|
NULL, /* device stat */
|
||||||
NULL, // device link
|
NULL, /* device link */
|
||||||
NULL, // device unlink
|
NULL, /* device unlink */
|
||||||
NULL, // device chdir
|
NULL, /* device chdir */
|
||||||
NULL, // device rename
|
NULL, /* device rename */
|
||||||
NULL, // device mkdir
|
NULL, /* device mkdir */
|
||||||
0, // dirStateSize
|
0, /* dirStateSize */
|
||||||
NULL, // device diropen_r
|
NULL, /* device diropen_r */
|
||||||
NULL, // device dirreset_r
|
NULL, /* device dirreset_r */
|
||||||
NULL, // device dirnext_r
|
NULL, /* device dirnext_r */
|
||||||
NULL, // device dirclose_r
|
NULL, /* device dirclose_r */
|
||||||
NULL, // device statvfs_r
|
NULL, /* device statvfs_r */
|
||||||
NULL, // device ftrunctate_r
|
NULL, /* device ftrunctate_r */
|
||||||
NULL, // device fsync_r
|
NULL, /* device fsync_r */
|
||||||
NULL, // deviceData;
|
NULL, /* deviceData; */
|
||||||
};
|
};
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
@ -73,10 +73,15 @@ static void dol_copy_argv_path(const char *dolpath, const char *argpath)
|
|||||||
len += t_len;
|
len += t_len;
|
||||||
}
|
}
|
||||||
/* a relative path */
|
/* a relative path */
|
||||||
else if (strstr(dolpath, "sd:/") != dolpath && strstr(dolpath, "usb:/") != dolpath &&
|
else if (
|
||||||
strstr(dolpath, "carda:/") != dolpath && strstr(dolpath, "cardb:/") != dolpath)
|
(strstr(dolpath, "sd:/") != dolpath) &&
|
||||||
|
(strstr(dolpath, "usb:/") != dolpath) &&
|
||||||
|
(strstr(dolpath, "carda:/") != dolpath) &&
|
||||||
|
(strstr(dolpath, "cardb:/") != dolpath)
|
||||||
|
)
|
||||||
{
|
{
|
||||||
fill_pathname_parent_dir(tmp, __system_argv->argv[0], sizeof(tmp));
|
fill_pathname_parent_dir(tmp,
|
||||||
|
__system_argv->argv[0], sizeof(tmp));
|
||||||
t_len = strlen(tmp);
|
t_len = strlen(tmp);
|
||||||
memcpy(cmdline, tmp, t_len);
|
memcpy(cmdline, tmp, t_len);
|
||||||
len += t_len;
|
len += t_len;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user