From 5adaf9e2aacba25fc195ab385f6df151c4e9d3ea Mon Sep 17 00:00:00 2001 From: twinaphex Date: Sun, 18 Dec 2016 16:01:00 +0100 Subject: [PATCH] (menu_cbs_ok.c) Add some comments --- menu/cbs/menu_cbs_ok.c | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/menu/cbs/menu_cbs_ok.c b/menu/cbs/menu_cbs_ok.c index 4b2e50b29a..29367e32e0 100644 --- a/menu/cbs/menu_cbs_ok.c +++ b/menu/cbs/menu_cbs_ok.c @@ -1268,10 +1268,15 @@ static int action_ok_playlist_entry_collection(const char *path, menu_driver_ctl(RARCH_MENU_CTL_SYSTEM_INFO_GET, &info); + /* If the currently loaded core's name is equal + * to the core name from the playlist entry, + * then we directly load this game with the current core. + */ if (info && string_is_equal(info->info.library_name, core_name)) return action_ok_file_load(menu->deferred_path, label, type, idx, entry_idx); + /* Is the core path / name of the playlist entry not yet filled in? */ if ( string_is_equal(core_path, file_path_str(FILE_PATH_DETECT)) && string_is_equal(core_name, file_path_str(FILE_PATH_DETECT))) {