diff options
| author | crueter <crueter@eden-emu.dev> | 2025-11-17 22:36:35 +0100 |
|---|---|---|
| committer | crueter <crueter@eden-emu.dev> | 2025-11-17 22:36:35 +0100 |
| commit | c160d6b752e6cfad0353e73a398b246e878a647a (patch) | |
| tree | 9af5a3b306d91054582bbba7f4cbb162317f0bde /src/yuzu/main_window.cpp | |
| parent | eb2d9ea57460b4d0ff24a8cd7b61aec231a5a547 (diff) | |
[desktop] remove stale compat report function (#3038)
Signed-off-by: crueter <crueter@eden-emu.dev>
Reviewed-on: https://git.eden-emu.dev/eden-emu/eden/pulls/3038
Reviewed-by: Caio Oliveira <caiooliveirafarias0@gmail.com>
Diffstat (limited to 'src/yuzu/main_window.cpp')
| -rw-r--r-- | src/yuzu/main_window.cpp | 68 |
1 files changed, 37 insertions, 31 deletions
diff --git a/src/yuzu/main_window.cpp b/src/yuzu/main_window.cpp index a6e284856f..a2ff5422ad 100644 --- a/src/yuzu/main_window.cpp +++ b/src/yuzu/main_window.cpp @@ -75,6 +75,8 @@ #include "qt_common/config/uisettings.h" #include "qt_common/config/shared_translation.h" +#include "qt_common/abstract/frontend.h" + #include "qt_common/qt_common.h" #include "qt_common/util/path.h" @@ -3228,37 +3230,41 @@ void MainWindow::ErrorDisplayRequestExit() { } void MainWindow::OnMenuReportCompatibility() { -#if defined(ARCHITECTURE_x86_64) && !defined(__APPLE__) - const auto& caps = Common::GetCPUCaps(); - const bool has_fma = caps.fma || caps.fma4; - const auto processor_count = std::thread::hardware_concurrency(); - const bool has_4threads = processor_count == 0 || processor_count >= 4; - const bool has_8gb_ram = Common::GetMemInfo().TotalPhysicalMemory >= 8_GiB; - const bool has_broken_vulkan = UISettings::values.has_broken_vulkan; - - if (!has_fma || !has_4threads || !has_8gb_ram || has_broken_vulkan) { - QMessageBox::critical(this, tr("Hardware requirements not met"), - tr("Your system does not meet the recommended hardware requirements. " - "Compatibility reporting has been disabled.")); - return; - } - - if (!Settings::values.eden_token.GetValue().empty() && - !Settings::values.eden_username.GetValue().empty()) { - } else { - QMessageBox::critical( - this, tr("Missing yuzu Account"), - tr("In order to submit a game compatibility test case, you must set up your web token " - "and " - "username.<br><br/>To link your eden account, go to Emulation > Configuration " - "> " - "Web.")); - } -#else - QMessageBox::critical(this, tr("Hardware requirements not met"), - tr("Your system does not meet the recommended hardware requirements. " - "Compatibility reporting has been disabled.")); -#endif + QtCommon::Frontend::Critical( + tr("Function Disabled"), + tr("Compatibility list reporting is currently disabled. Check back later!")); + +// #if defined(ARCHITECTURE_x86_64) && !defined(__APPLE__) +// const auto& caps = Common::GetCPUCaps(); +// const bool has_fma = caps.fma || caps.fma4; +// const auto processor_count = std::thread::hardware_concurrency(); +// const bool has_4threads = processor_count == 0 || processor_count >= 4; +// const bool has_8gb_ram = Common::GetMemInfo().TotalPhysicalMemory >= 8_GiB; +// const bool has_broken_vulkan = UISettings::values.has_broken_vulkan; + +// if (!has_fma || !has_4threads || !has_8gb_ram || has_broken_vulkan) { +// QMessageBox::critical(this, tr("Hardware requirements not met"), +// tr("Your system does not meet the recommended hardware requirements. " +// "Compatibility reporting has been disabled.")); +// return; +// } + +// if (!Settings::values.eden_token.GetValue().empty() && +// !Settings::values.eden_username.GetValue().empty()) { +// } else { +// QMessageBox::critical( +// this, tr("Missing yuzu Account"), +// tr("In order to submit a game compatibility test case, you must set up your web token " +// "and " +// "username.<br><br/>To link your eden account, go to Emulation > Configuration " +// "> " +// "Web.")); +// } +// #else +// QMessageBox::critical(this, tr("Hardware requirements not met"), +// tr("Your system does not meet the recommended hardware requirements. " +// "Compatibility reporting has been disabled.")); +// #endif } void MainWindow::OpenURL(const QUrl& url) { |
