From bb15d50ff977161c5b1fe7144e58c5b48a84ccca Mon Sep 17 00:00:00 2001 From: twinaphex Date: Thu, 30 Jun 2016 19:09:22 +0200 Subject: [PATCH] Dehardcode some constants --- menu/cbs/menu_cbs_ok.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/menu/cbs/menu_cbs_ok.c b/menu/cbs/menu_cbs_ok.c index 85d37544f9..d0710ec20a 100644 --- a/menu/cbs/menu_cbs_ok.c +++ b/menu/cbs/menu_cbs_ok.c @@ -796,8 +796,8 @@ static int action_ok_playlist_entry(const char *path, RARCH_LOG("playlist file: %s\n", menu->db_playlist_file); #endif - if ( string_is_equal(core_path, "DETECT") - && string_is_equal(core_name, "DETECT")) + if ( string_is_equal(core_path, file_path_str(FILE_PATH_DETECT)) + && string_is_equal(core_name, file_path_str(FILE_PATH_DETECT))) { core_info_ctx_find_t core_info; char new_core_path[PATH_MAX_LENGTH] = {0};