mirror of
https://git.eden-emu.dev/eden-emu/eden.git
synced 2026-08-20 06:53:11 +00:00
[qt] nuke game compat list (again) (#4201)
we have no use for it it's dead code most of the time users just complain about how the list isn't updated ok so what if we update it? great now its more noise added to the git, awesome even if we constantly update it, we introduce new breakage that makes keeping track of things extremely difficult either we integrate with emuready (would violate self containment principles) or we integrate with emuready in a similar fashion to eden news outlet (where we cache the list with some TTL of like 60 mins or whatever) that would be better respecting of "self containment" but would probably require having a quick way to update the list additively, probably filtered to the user's device instead of a global thing, and i dont think emuready has that granularity nor we have the "connect this to that" for the api stuffs another (which is what i propose here) is throw everything out of the window until someone can come up with something better Signed-off-by: lizzie <lizzie@eden-emu.dev> Reviewed-on: https://git.eden-emu.dev/eden-emu/eden/pulls/4201 Reviewed-by: Maufeat <sahyno1996@gmail.com> Reviewed-by: CamilleLaVey <camillelavey99@gmail.com>
This commit is contained in:
@@ -447,7 +447,6 @@ MainWindow::MainWindow(bool has_broken_vulkan)
|
||||
if (Settings::values.use_dev_keys.GetValue()) {
|
||||
Core::Crypto::KeyManager::Instance().ReloadKeys();
|
||||
}
|
||||
game_list->LoadCompatibilityList();
|
||||
game_list->PopulateAsync(UISettings::values.game_dirs);
|
||||
|
||||
// Set up game list mode checkboxes.
|
||||
@@ -957,9 +956,6 @@ void MainWindow::WebBrowserRequestExit() {
|
||||
}
|
||||
|
||||
void MainWindow::InitializeWidgets() {
|
||||
#ifdef YUZU_ENABLE_COMPATIBILITY_REPORTING
|
||||
ui->action_Report_Compatibility->setVisible(true);
|
||||
#endif
|
||||
render_window = new GRenderWindow(this, input_subsystem);
|
||||
render_window->hide();
|
||||
|
||||
@@ -1459,8 +1455,6 @@ void MainWindow::ConnectWidgetEvents() {
|
||||
connect(game_list, &GameList::VerifyIntegrityRequested, this,
|
||||
&MainWindow::OnGameListVerifyIntegrity);
|
||||
connect(game_list, &GameList::CopyTIDRequested, this, &MainWindow::OnGameListCopyTID);
|
||||
connect(game_list, &GameList::NavigateToGamedbEntryRequested, this,
|
||||
&MainWindow::OnGameListNavigateToGamedbEntry);
|
||||
connect(game_list, &GameList::CreateShortcut, this, &MainWindow::OnGameListCreateShortcut);
|
||||
connect(game_list, &GameList::AddDirectory, this, &MainWindow::OnGameListAddDirectory);
|
||||
connect(game_list_placeholder, &GameListPlaceholder::AddDirectory, this,
|
||||
@@ -1505,7 +1499,6 @@ void MainWindow::ConnectMenuEvents() {
|
||||
// Emulation
|
||||
connect_menu(ui->action_Pause, &MainWindow::OnPauseContinueGame);
|
||||
connect_menu(ui->action_Stop, &MainWindow::OnStopGame);
|
||||
connect_menu(ui->action_Report_Compatibility, &MainWindow::OnMenuReportCompatibility);
|
||||
connect_menu(ui->action_Open_Mods_Page, &MainWindow::OnOpenModsPage);
|
||||
connect_menu(ui->action_Open_Quickstart_Guide, &MainWindow::OnOpenQuickstartGuide);
|
||||
connect_menu(ui->action_Open_FAQ, &MainWindow::OnOpenFAQ);
|
||||
@@ -1639,7 +1632,6 @@ void MainWindow::UpdateMenuState() {
|
||||
ui->action_Stop,
|
||||
ui->action_Restart,
|
||||
ui->action_Configure_Current_Game,
|
||||
ui->action_Report_Compatibility,
|
||||
ui->action_Load_Amiibo,
|
||||
ui->action_Pause,
|
||||
};
|
||||
@@ -2616,21 +2608,6 @@ void MainWindow::OnGameListCopyTID(u64 program_id) {
|
||||
clipboard->setText(QString::fromStdString(fmt::format("{:016X}", program_id)));
|
||||
}
|
||||
|
||||
void MainWindow::OnGameListNavigateToGamedbEntry(u64 program_id,
|
||||
const CompatibilityList& compatibility_list) {
|
||||
const auto it = FindMatchingCompatibilityEntry(compatibility_list, program_id);
|
||||
|
||||
QString directory;
|
||||
if (it != compatibility_list.end()) {
|
||||
directory = it->second.second;
|
||||
}
|
||||
|
||||
QDesktopServices::openUrl(QUrl(
|
||||
QStringLiteral(
|
||||
"https://www.emuready.com/listings?emulatorIds=43bfc023-ec22-422d-8324-048a8ec9f28f") +
|
||||
directory));
|
||||
}
|
||||
|
||||
void MainWindow::OnGameListCreateShortcut(u64 program_id, const std::string& game_path,
|
||||
const QtCommon::Game::ShortcutTarget target) {
|
||||
// Create shortcu
|
||||
|
||||
Reference in New Issue
Block a user