mirror of
https://github.com/libretro/RetroArch
synced 2025-03-01 07:13:35 +00:00
(OSX) apple_run_core - get rid of unneeded strlcpy call
This commit is contained in:
parent
a1321689ac
commit
d45bf7db1f
@ -40,7 +40,6 @@ void apple_run_core(NSString* core, const char* file)
|
|||||||
{
|
{
|
||||||
char basedir[256];
|
char basedir[256];
|
||||||
fill_pathname_basedir(basedir, file, sizeof(basedir));
|
fill_pathname_basedir(basedir, file, sizeof(basedir));
|
||||||
strlcpy(basedir, file, sizeof(basedir));
|
|
||||||
if (file && access(basedir, R_OK | W_OK | X_OK))
|
if (file && access(basedir, R_OK | W_OK | X_OK))
|
||||||
apple_display_alert(@"The directory containing the selected file has limited permissions. This may "
|
apple_display_alert(@"The directory containing the selected file has limited permissions. This may "
|
||||||
"prevent zipped games from loading, and will cause some cores to not function.", 0);
|
"prevent zipped games from loading, and will cause some cores to not function.", 0);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user