From 12949420b68bb399e81243302946a725138e01fa Mon Sep 17 00:00:00 2001 From: twinaphex Date: Sat, 17 Sep 2016 15:07:45 +0200 Subject: [PATCH] (Windows) Buildfix --- gfx/common/win32_common.cpp | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/gfx/common/win32_common.cpp b/gfx/common/win32_common.cpp index 8672b143c8..0ea3b22de8 100644 --- a/gfx/common/win32_common.cpp +++ b/gfx/common/win32_common.cpp @@ -25,6 +25,7 @@ #include "../../configuration.h" #include "../../verbosity.h" #include "../../driver.h" +#include "../../paths.h" #include "../../runloop.h" #include "../../tasks/tasks_internal.h" #include "../../core_info.h" @@ -287,7 +288,7 @@ static int win32_drag_query_file(HWND hwnd, WPARAM wparam) runloop_ctl(RUNLOOP_CTL_SET_CONTENT_PATH,szFilename); - if (!string_is_empty(config_get_active_core_path())) + if (!path_is_core_empty()) { unsigned i; core_info_t *current_core = NULL; @@ -301,7 +302,7 @@ static int win32_drag_query_file(HWND hwnd, WPARAM wparam) if(!string_is_equal(info->systemname, current_core->systemname)) break; - if(string_is_equal(config_get_active_core_path(), info->path)) + if(string_is_equal(path_get_core(), info->path)) { /* Our previous core supports the current rom */ content_ctx_info_t content_info = {0};