mirror of
https://github.com/libretro/RetroArch.git
synced 2024-11-24 08:30:16 +00:00
(Blackberry) Replace strcpy with strlcpy
This commit is contained in:
parent
53d49907ed
commit
a7ea3b3ec7
@ -28,8 +28,8 @@ int rarch_main(int argc, char *argv[])
|
||||
|
||||
rarch_main_clear_state();
|
||||
|
||||
strcpy(g_extern.config_path,"app/native/retroarch.cfg");
|
||||
strcpy(g_settings.libretro,"app/native/lib");
|
||||
strlcpy(g_extern.config_path, "app/native/retroarch.cfg", sizeof(g_extern.config_path));
|
||||
strlcpy(g_settings.libretro, "app/native/lib", sizeof(g_settings.libretro));
|
||||
|
||||
config_load();
|
||||
global_init_drivers();
|
||||
|
Loading…
Reference in New Issue
Block a user