From 1ab94a2c9a11a54f91b628c0c71115506c55eb0b Mon Sep 17 00:00:00 2001 From: mudlord Date: Fri, 3 Jun 2016 18:25:45 +1000 Subject: [PATCH] updates to dragndrop --- gfx/common/win32_common.cpp | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/gfx/common/win32_common.cpp b/gfx/common/win32_common.cpp index f7a6055708..aa5fc80f08 100644 --- a/gfx/common/win32_common.cpp +++ b/gfx/common/win32_common.cpp @@ -249,12 +249,14 @@ static LRESULT CALLBACK WndProcCommon(bool *quit, HWND hwnd, UINT message, if (strlen(settings->path.libretro)) { unsigned i; + core_info_t *current_core = NULL; + core_info_get_current_core(¤t_core); /*we already have path for libretro core */ for (i = 0; i < list_size; i++) { const core_info_t *info = (const core_info_t*)&core_info[i]; - + if(strcmp(info->systemname,current_core->systemname))break; if(!strcmp(settings->path.libretro,info->path)) { /* Our previous core supports the current rom */