Skip to content

Commit e7c6862

Browse files
committed
DownloadManager: Fix missing updates
1 parent 1c73dc9 commit e7c6862

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/Cemu/napi/napi_version.cpp

+2-2
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ namespace NAPI
3131
requestUrl = NintendoURLs::TAGAYAURL;
3232
break;
3333
}
34-
requestUrl.append(fmt::format(fmt::runtime("/{}/{}/latest_version"), NCrypto::GetRegionAsString(authInfo.region), authInfo.country));
34+
requestUrl.append(fmt::format(fmt::runtime("/{}/{}/latest_version"), NCrypto::GetRegionAsString(authInfo.region), authInfo.country.empty() ? "NN" : authInfo.country));
3535
req.initate(authInfo.GetService(), requestUrl, CurlRequestHelper::SERVER_SSL_CONTEXT::TAGAYA);
3636

3737
if (!req.submitRequest(false))
@@ -63,7 +63,7 @@ namespace NAPI
6363
{
6464
NAPI_VersionList_Result result;
6565
CurlRequestHelper req;
66-
req.initate(authInfo.GetService(), fmt::format("https://{}/tagaya/versionlist/{}/{}/list/{}.versionlist", fqdnURL, NCrypto::GetRegionAsString(authInfo.region), authInfo.country, versionListVersion), CurlRequestHelper::SERVER_SSL_CONTEXT::TAGAYA);
66+
req.initate(authInfo.GetService(), fmt::format("https://{}/tagaya/versionlist/{}/{}/list/{}.versionlist", fqdnURL, NCrypto::GetRegionAsString(authInfo.region), authInfo.country.empty() ? "NN" : authInfo.country, versionListVersion), CurlRequestHelper::SERVER_SSL_CONTEXT::TAGAYA);
6767
if (!req.submitRequest(false))
6868
{
6969
cemuLog_log(LogType::Force, fmt::format("Failed to request update list"));

0 commit comments

Comments
 (0)