VERY experimental Nintendo Switch 2 emulator
C++
boxcat: Avoid unnecessary object copy
comex8e924224df61
diff --git a/src/core/hle/service/bcat/backend/boxcat.cpp b/src/core/hle/service/bcat/backend/boxcat.cppindex 3b6f7498e8..e43f3f47fb 100644--- a/src/core/hle/service/bcat/backend/boxcat.cpp+++ b/src/core/hle/service/bcat/backend/boxcat.cpp@@ -483,7 +483,7 @@ Boxcat::StatusResult Boxcat::GetStatus(std::optional<std::string>& global,global = json["global"].get<std::string>();if (json["games"].is_array()) {- for (const auto object : json["games"]) {+ for (const auto& object : json["games"]) {if (object.is_object() && object.find("name") != object.end()) {EventStatus detail{};if (object["header"].is_string()) {