diff --git a/pkg/msvc/msvc-2017/RetroArch-msvc2017.vcxproj b/pkg/msvc/msvc-2017/RetroArch-msvc2017.vcxproj
index 9cb1b038a4..d41a8d82b3 100644
--- a/pkg/msvc/msvc-2017/RetroArch-msvc2017.vcxproj
+++ b/pkg/msvc/msvc-2017/RetroArch-msvc2017.vcxproj
@@ -123,7 +123,7 @@
true
- $(DXSDK_DIR)Include;$(IncludePath)
+ $(IncludePath);$(DXSDK_DIR)Include
$(DXSDK_DIR)Lib\x86;$(LibraryPath)
AllRules.ruleset
@@ -131,7 +131,7 @@
true
- $(DXSDK_DIR)Include;$(CG_INC_PATH);$(IncludePath)
+ $(CG_INC_PATH);$(IncludePath);$(DXSDK_DIR)Include
$(DXSDK_DIR)Lib\x86;$(CG_LIB_PATH);$(LibraryPath)
AllRules.ruleset
@@ -139,7 +139,7 @@
true
- $(DXSDK_DIR)Include;$(IncludePath)
+ $(IncludePath);$(DXSDK_DIR)Include
$(DXSDK_DIR)Lib\x64;$(LibraryPath)
AllRules.ruleset
@@ -147,7 +147,7 @@
true
- $(DXSDK_DIR)Include;$(CG_INC_PATH);$(IncludePath)
+ $(CG_INC_PATH);$(IncludePath);$(DXSDK_DIR)Include
$(DXSDK_DIR)Lib\x64;$(CG_LIB64_PATH);$(LibraryPath)
AllRules.ruleset
@@ -155,7 +155,7 @@
false
- $(DXSDK_DIR)Include;$(IncludePath)
+ $(IncludePath);$(DXSDK_DIR)Include
$(DXSDK_DIR)Lib\x86;$(LibraryPath)
AllRules.ruleset
@@ -171,7 +171,7 @@
false
- $(DXSDK_DIR)Include;$(IncludePath)
+ $(IncludePath);$(DXSDK_DIR)Include
$(DXSDK_DIR)Lib\x64;$(LibraryPath)
AllRules.ruleset
diff --git a/tasks/task_netplay_find_content.c b/tasks/task_netplay_find_content.c
index 2a815eea8c..961b591fc5 100644
--- a/tasks/task_netplay_find_content.c
+++ b/tasks/task_netplay_find_content.c
@@ -39,7 +39,6 @@
typedef struct
{
- struct string_list *lpl_list;
char content_crc[PATH_MAX_LENGTH];
char content_path[PATH_MAX_LENGTH];
char hostname[512];
@@ -49,6 +48,7 @@ typedef struct
bool found;
bool current;
bool contentless;
+ struct string_list *lpl_list;
} netplay_crc_handle_t;
static void netplay_crc_scan_callback(void *task_data,
@@ -127,7 +127,7 @@ static void task_netplay_crc_scan_handler(retro_task_t *task)
{
size_t i, j;
netplay_crc_handle_t *state = (netplay_crc_handle_t*)task->state;
- char current[PATH_MAX_LENGTH];
+
task_set_progress(task, 0);
task_free_title(task);
task_set_title(task, strdup("Looking for compatible content..."));
@@ -153,6 +153,7 @@ static void task_netplay_crc_scan_handler(retro_task_t *task)
/* CRC matching */
if (!string_is_equal(state->content_crc, "00000000|crc"))
{
+ char current[PATH_MAX_LENGTH];
RARCH_LOG("[lobby] testing CRC matching for: %s\n", state->content_crc);
snprintf(current, sizeof(current), "%X|crc", content_get_crc());