Caio Oliveira
6 days ago
No known key found for this signature in database
GPG Key ID: AAAE6C7FD4186B0C
2 changed files with
2 additions and
2 deletions
-
src/android/app/src/main/jni/native.cpp
-
src/yuzu/main_window.cpp
|
|
|
@ -1629,7 +1629,7 @@ JNIEXPORT jobjectArray JNICALL Java_org_yuzu_yuzu_1emu_NativeLibrary_checkForUpd |
|
|
|
UpdateChecker::GetLatestRelease(is_prerelease); |
|
|
|
|
|
|
|
#ifdef NIGHTLY_BUILD
|
|
|
|
if (release->tag.substr(release->tag.find('.') + 1, 10) == std::string(Common::g_build_version).substr(0, 10)) { |
|
|
|
if (!release || ::strnstr(release->tag.c_str(), Common::g_build_version, 10) != nullptr) { |
|
|
|
return nullptr; |
|
|
|
} |
|
|
|
#else
|
|
|
|
|
|
|
|
@ -524,7 +524,7 @@ MainWindow::MainWindow(bool has_broken_vulkan) |
|
|
|
const std::optional<UpdateChecker::Update> latest_release_tag = |
|
|
|
UpdateChecker::GetLatestRelease(is_prerelease); |
|
|
|
#ifdef NIGHTLY_BUILD
|
|
|
|
if (latest_release_tag->tag.substr(latest_release_tag->tag.find('.') + 1, 10) != std::string(Common::g_build_version).substr(0, 10)) { |
|
|
|
if (latest_release_tag && ::strnstr(latest_release_tag->tag.c_str(), Common::g_build_version, 10) != nullptr) { |
|
|
|
return latest_release_tag.value(); |
|
|
|
} |
|
|
|
#else
|
|
|
|
|