mirror of
https://github.com/CTCaer/RetroArch.git
synced 2025-01-10 21:10:15 +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…
x
Reference in New Issue
Block a user