VERY experimental Nintendo Switch 2 emulator
C++
service/bcat: Silence -Wreorder and -Wunused
ReinUsesLispdeb7a968f653
diff --git a/src/core/hle/service/bcat/backend/boxcat.cpp b/src/core/hle/service/bcat/backend/boxcat.cppindex e6ee0810b2..0e451e9c2f 100644--- a/src/core/hle/service/bcat/backend/boxcat.cpp+++ b/src/core/hle/service/bcat/backend/boxcat.cpp@@ -88,7 +88,7 @@ std::ostream& operator<<(std::ostream& os, DownloadResult result) {constexpr u32 PORT = 443;constexpr u32 TIMEOUT_SECONDS = 30;-constexpr u64 VFS_COPY_BLOCK_SIZE = 1ull << 24; // 4MB+[[maybe_unused]] constexpr u64 VFS_COPY_BLOCK_SIZE = 1ULL << 24; // 4MBnamespace {diff --git a/src/core/hle/service/bcat/module.cpp b/src/core/hle/service/bcat/module.cppindex b3fed56c7b..4c01bcd990 100644--- a/src/core/hle/service/bcat/module.cpp+++ b/src/core/hle/service/bcat/module.cpp@@ -567,7 +567,7 @@ std::unique_ptr<Backend> CreateBackendFromSettings(DirectoryGetter getter) {Module::Interface::Interface(std::shared_ptr<Module> module, FileSystem::FileSystemController& fsc,const char* name)- : ServiceFramework(name), module(std::move(module)), fsc(fsc),+ : ServiceFramework(name), fsc(fsc), module(std::move(module)),backend(CreateBackendFromSettings([&fsc](u64 tid) { return fsc.GetBCATDirectory(tid); })) {}Module::Interface::~Interface() = default;