(RARCH_CONSOLE) Some better comments for rarch_get_environment_console

This commit is contained in:
twinaphex 2013-10-07 15:25:09 +02:00
parent 2b5220d2c7
commit e4beacd663

View File

@ -56,12 +56,13 @@ static void rarch_get_environment_console(void)
if (path_file_exists(old_path))
{
// Rename core filename executable to a more sane name.
// Rename core filename executable (old_path) to a more sane name (new_path).
/* If new_path already exists, we are upgrading the core -
* delete existing file first. */
if (path_file_exists(new_path))
{
/* If new_path already exists, we are upgrading the core -
* delete existing file first. */
if (remove(new_path) < 0)
RARCH_ERR("Failed to remove file: %s.\n", new_path);
else