VERY experimental Nintendo Switch 2 emulator
C++
Merge pull request #10519 from mdmrk/master
liamwhite90d65919b533
diff --cc src/yuzu/game_list.hindex 1fcbbf0bad,6e8382c0fd..712570cea0--- a/src/yuzu/game_list.h+++ b/src/yuzu/game_list.h@@@ -113,8 -115,8 +116,9 @@@ signalsvoid RemoveInstalledEntryRequested(u64 program_id, InstalledEntryType type);void RemoveFileRequested(u64 program_id, GameListRemoveTarget target,const std::string& game_path);+ void RemovePlayTimeRequested(u64 program_id);void DumpRomFSRequested(u64 program_id, const std::string& game_path, DumpRomFSTarget target);+ void VerifyIntegrityRequested(const std::string& game_path);void CopyTIDRequested(u64 program_id);void CreateShortcut(u64 program_id, const std::string& game_path,GameListShortcutTarget target);diff --cc src/yuzu/main.cppindex 1753fec121,bfa4787e1f..e0bfa71852--- a/src/yuzu/main.cpp+++ b/src/yuzu/main.cpp@@@ -1461,9 -1449,9 +1464,11 @@@ void GMainWindow::ConnectWidgetEvents(connect(game_list, &GameList::RemoveInstalledEntryRequested, this,&GMainWindow::OnGameListRemoveInstalledEntry);connect(game_list, &GameList::RemoveFileRequested, this, &GMainWindow::OnGameListRemoveFile);+ connect(game_list, &GameList::RemovePlayTimeRequested, this,+ &GMainWindow::OnGameListRemovePlayTimeData);connect(game_list, &GameList::DumpRomFSRequested, this, &GMainWindow::OnGameListDumpRomFS);+ connect(game_list, &GameList::VerifyIntegrityRequested, this,+ &GMainWindow::OnGameListVerifyIntegrity);connect(game_list, &GameList::CopyTIDRequested, this, &GMainWindow::OnGameListCopyTID);connect(game_list, &GameList::NavigateToGamedbEntryRequested, this,&GMainWindow::OnGameListNavigateToGamedbEntry);diff --cc src/yuzu/main.hindex 52028234c7,c3003f8d90..c1872ecd4d--- a/src/yuzu/main.h+++ b/src/yuzu/main.h@@@ -323,8 -316,8 +327,9 @@@ private slotsvoid OnGameListRemoveInstalledEntry(u64 program_id, InstalledEntryType type);void OnGameListRemoveFile(u64 program_id, GameListRemoveTarget target,const std::string& game_path);+ void OnGameListRemovePlayTimeData(u64 program_id);void OnGameListDumpRomFS(u64 program_id, const std::string& game_path, DumpRomFSTarget target);+ void OnGameListVerifyIntegrity(const std::string& game_path);void OnGameListCopyTID(u64 program_id);void OnGameListNavigateToGamedbEntry(u64 program_id,const CompatibilityList& compatibility_list);@@@ -389,10 -379,10 +394,11 @@@ privatevoid RemoveVulkanDriverPipelineCache(u64 program_id);void RemoveAllTransferableShaderCaches(u64 program_id);void RemoveCustomConfiguration(u64 program_id, const std::string& game_path);+ void RemovePlayTimeData(u64 program_id);void RemoveCacheStorage(u64 program_id);- std::optional<u64> SelectRomFSDumpTarget(const FileSys::ContentProvider&, u64 program_id);- InstallResult InstallNSPXCI(const QString& filename);+ bool SelectRomFSDumpTarget(const FileSys::ContentProvider&, u64 program_id,+ u64* selected_title_id, u8* selected_content_record_type);+ InstallResult InstallNSP(const QString& filename);InstallResult InstallNCA(const QString& filename);void MigrateConfigFiles();void UpdateWindowTitle(std::string_view title_name = {}, std::string_view title_version = {},