[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>
This commit is contained in:
parent
eb2d9ea574
commit
c160d6b752
|
|
@ -75,6 +75,8 @@
|
||||||
#include "qt_common/config/uisettings.h"
|
#include "qt_common/config/uisettings.h"
|
||||||
#include "qt_common/config/shared_translation.h"
|
#include "qt_common/config/shared_translation.h"
|
||||||
|
|
||||||
|
#include "qt_common/abstract/frontend.h"
|
||||||
|
|
||||||
#include "qt_common/qt_common.h"
|
#include "qt_common/qt_common.h"
|
||||||
|
|
||||||
#include "qt_common/util/path.h"
|
#include "qt_common/util/path.h"
|
||||||
|
|
@ -3228,37 +3230,41 @@ void MainWindow::ErrorDisplayRequestExit() {
|
||||||
}
|
}
|
||||||
|
|
||||||
void MainWindow::OnMenuReportCompatibility() {
|
void MainWindow::OnMenuReportCompatibility() {
|
||||||
#if defined(ARCHITECTURE_x86_64) && !defined(__APPLE__)
|
QtCommon::Frontend::Critical(
|
||||||
const auto& caps = Common::GetCPUCaps();
|
tr("Function Disabled"),
|
||||||
const bool has_fma = caps.fma || caps.fma4;
|
tr("Compatibility list reporting is currently disabled. Check back later!"));
|
||||||
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) {
|
// #if defined(ARCHITECTURE_x86_64) && !defined(__APPLE__)
|
||||||
QMessageBox::critical(this, tr("Hardware requirements not met"),
|
// const auto& caps = Common::GetCPUCaps();
|
||||||
tr("Your system does not meet the recommended hardware requirements. "
|
// const bool has_fma = caps.fma || caps.fma4;
|
||||||
"Compatibility reporting has been disabled."));
|
// const auto processor_count = std::thread::hardware_concurrency();
|
||||||
return;
|
// 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 (!Settings::values.eden_token.GetValue().empty() &&
|
// if (!has_fma || !has_4threads || !has_8gb_ram || has_broken_vulkan) {
|
||||||
!Settings::values.eden_username.GetValue().empty()) {
|
// QMessageBox::critical(this, tr("Hardware requirements not met"),
|
||||||
} else {
|
// tr("Your system does not meet the recommended hardware requirements. "
|
||||||
QMessageBox::critical(
|
// "Compatibility reporting has been disabled."));
|
||||||
this, tr("Missing yuzu Account"),
|
// return;
|
||||||
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 "
|
// if (!Settings::values.eden_token.GetValue().empty() &&
|
||||||
"> "
|
// !Settings::values.eden_username.GetValue().empty()) {
|
||||||
"Web."));
|
// } else {
|
||||||
}
|
// QMessageBox::critical(
|
||||||
#else
|
// this, tr("Missing yuzu Account"),
|
||||||
QMessageBox::critical(this, tr("Hardware requirements not met"),
|
// tr("In order to submit a game compatibility test case, you must set up your web token "
|
||||||
tr("Your system does not meet the recommended hardware requirements. "
|
// "and "
|
||||||
"Compatibility reporting has been disabled."));
|
// "username.<br><br/>To link your eden account, go to Emulation > Configuration "
|
||||||
#endif
|
// "> "
|
||||||
|
// "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) {
|
void MainWindow::OpenURL(const QUrl& url) {
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue