diff --git a/dev/src/recompiler_core/codeGeneratorMSVC.cpp b/dev/src/recompiler_core/codeGeneratorMSVC.cpp index 9ec870b..12a395b 100644 --- a/dev/src/recompiler_core/codeGeneratorMSVC.cpp +++ b/dev/src/recompiler_core/codeGeneratorMSVC.cpp @@ -537,7 +537,7 @@ namespace code // FAKE XML m_currentFile->m_codePrinter->Print("\n"); - m_currentFile->m_codePrinter->Print(" \n"); + m_currentFile->m_codePrinter->Print(" \n"); m_currentFile->m_codePrinter->Print(" \n"); m_currentFile->m_codePrinter->Print(" \n"); m_currentFile->m_codePrinter->Print(" Build\n"); @@ -626,7 +626,7 @@ namespace code { wchar_t msBuildPath[512]; - if (GetKeyData(HKEY_LOCAL_MACHINE, L"SOFTWARE\\Microsoft\\MSBuild\\ToolsVersions\\17.0", L"MSBuildToolsPath", msBuildPath, sizeof(msBuildPath))) + if (GetKeyData(HKEY_LOCAL_MACHINE, L"SOFTWARE\\Microsoft\\MSBuild\\ToolsVersions\\15.0", L"MSBuildToolsPath", msBuildPath, sizeof(msBuildPath))) return msBuildPath; if (GetKeyData(HKEY_LOCAL_MACHINE, L"SOFTWARE\\Microsoft\\MSBuild\\ToolsVersions\\4.0", L"MSBuildToolsPath", msBuildPath, sizeof(msBuildPath)))