mirror of
https://git.eden-emu.dev/archive/citron
synced 2026-03-22 17:46:08 -04:00
More Unused Variables needing to be removed
Signed-off-by: Collecting <collecting@noreply.localhost>
This commit is contained in:
@@ -6512,7 +6512,6 @@ void GMainWindow::CheckForUpdatesAutomatically() {
|
|||||||
|
|
||||||
void GMainWindow::RegisterAutoloaderContents() {
|
void GMainWindow::RegisterAutoloaderContents() {
|
||||||
autoloader_provider->ClearAllEntries();
|
autoloader_provider->ClearAllEntries();
|
||||||
const auto& disabled_addons = Settings::values.disabled_addons;
|
|
||||||
|
|
||||||
const auto sdmc_path = Common::FS::GetCitronPath(Common::FS::CitronPath::SDMCDir);
|
const auto sdmc_path = Common::FS::GetCitronPath(Common::FS::CitronPath::SDMCDir);
|
||||||
const auto autoloader_root = sdmc_path / "autoloader";
|
const auto autoloader_root = sdmc_path / "autoloader";
|
||||||
@@ -6526,9 +6525,8 @@ void GMainWindow::RegisterAutoloaderContents() {
|
|||||||
if (!title_dir_entry.is_directory())
|
if (!title_dir_entry.is_directory())
|
||||||
continue;
|
continue;
|
||||||
|
|
||||||
u64 title_id_val = 0;
|
|
||||||
try {
|
try {
|
||||||
title_id_val = std::stoull(title_dir_entry.path().filename().string(), nullptr, 16);
|
std::stoull(title_dir_entry.path().filename().string(), nullptr, 16);
|
||||||
} catch (const std::invalid_argument&) {
|
} catch (const std::invalid_argument&) {
|
||||||
continue;
|
continue;
|
||||||
}
|
}
|
||||||
@@ -6542,7 +6540,7 @@ void GMainWindow::RegisterAutoloaderContents() {
|
|||||||
continue;
|
continue;
|
||||||
|
|
||||||
const std::string mod_name = mod_dir_entry.path().filename().string();
|
const std::string mod_name = mod_dir_entry.path().filename().string();
|
||||||
// Citron: We do NOT skip disabled content here.
|
// We do NOT skip disabled content here.
|
||||||
// If we skip it here, it doesn't show up in the UI (Properties -> Add-ons),
|
// If we skip it here, it doesn't show up in the UI (Properties -> Add-ons),
|
||||||
// making it impossible for the user to re-enable it.
|
// making it impossible for the user to re-enable it.
|
||||||
// The PatchManager (core/file_sys/patch_manager.cpp) handles the actual enforcement
|
// The PatchManager (core/file_sys/patch_manager.cpp) handles the actual enforcement
|
||||||
|
|||||||
Reference in New Issue
Block a user