diff options
Diffstat (limited to 'src')
| -rw-r--r-- | src/core/hle/service/bcat/backend/boxcat.cpp | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/src/core/hle/service/bcat/backend/boxcat.cpp b/src/core/hle/service/bcat/backend/boxcat.cpp index 2c3309268..36eb2c094 100644 --- a/src/core/hle/service/bcat/backend/boxcat.cpp +++ b/src/core/hle/service/bcat/backend/boxcat.cpp | |||
| @@ -39,10 +39,10 @@ constexpr ResultCode ERROR_GENERAL_BCAT_FAILURE{ErrorModule::BCAT, 1}; | |||
| 39 | constexpr char BOXCAT_HOSTNAME[] = "api.yuzu-emu.org"; | 39 | constexpr char BOXCAT_HOSTNAME[] = "api.yuzu-emu.org"; |
| 40 | 40 | ||
| 41 | // Formatted using fmt with arg[0] = hex title id | 41 | // Formatted using fmt with arg[0] = hex title id |
| 42 | constexpr char BOXCAT_PATHNAME_DATA[] = "/boxcat/titles/{:016X}/data"; | 42 | constexpr char BOXCAT_PATHNAME_DATA[] = "/game-assets/{:016X}/boxcat"; |
| 43 | constexpr char BOXCAT_PATHNAME_LAUNCHPARAM[] = "/boxcat/titles/{:016X}/launchparam"; | 43 | constexpr char BOXCAT_PATHNAME_LAUNCHPARAM[] = "/game-assets/{:016X}/launchparam"; |
| 44 | 44 | ||
| 45 | constexpr char BOXCAT_PATHNAME_EVENTS[] = "/boxcat/events"; | 45 | constexpr char BOXCAT_PATHNAME_EVENTS[] = "/game-assets/boxcat/events"; |
| 46 | 46 | ||
| 47 | constexpr char BOXCAT_API_VERSION[] = "1"; | 47 | constexpr char BOXCAT_API_VERSION[] = "1"; |
| 48 | constexpr char BOXCAT_CLIENT_TYPE[] = "yuzu"; | 48 | constexpr char BOXCAT_CLIENT_TYPE[] = "yuzu"; |
| @@ -203,9 +203,9 @@ private: | |||
| 203 | } | 203 | } |
| 204 | 204 | ||
| 205 | httplib::Headers headers{ | 205 | httplib::Headers headers{ |
| 206 | {std::string("Boxcat-Client-Version"), std::string(BOXCAT_API_VERSION)}, | 206 | {std::string("Game-Assets-API-Version"), std::string(BOXCAT_API_VERSION)}, |
| 207 | {std::string("Boxcat-Client-Type"), std::string(BOXCAT_CLIENT_TYPE)}, | 207 | {std::string("Boxcat-Client-Type"), std::string(BOXCAT_CLIENT_TYPE)}, |
| 208 | {std::string("Boxcat-Build-Id"), fmt::format("{:016X}", build_id)}, | 208 | {std::string("Game-Build-Id"), fmt::format("{:016X}", build_id)}, |
| 209 | }; | 209 | }; |
| 210 | 210 | ||
| 211 | if (FileUtil::Exists(path)) { | 211 | if (FileUtil::Exists(path)) { |
| @@ -444,7 +444,7 @@ Boxcat::StatusResult Boxcat::GetStatus(std::optional<std::string>& global, | |||
| 444 | static_cast<int>(TIMEOUT_SECONDS)}; | 444 | static_cast<int>(TIMEOUT_SECONDS)}; |
| 445 | 445 | ||
| 446 | httplib::Headers headers{ | 446 | httplib::Headers headers{ |
| 447 | {std::string("Boxcat-Client-Version"), std::string(BOXCAT_API_VERSION)}, | 447 | {std::string("Game-Assets-API-Version"), std::string(BOXCAT_API_VERSION)}, |
| 448 | {std::string("Boxcat-Client-Type"), std::string(BOXCAT_CLIENT_TYPE)}, | 448 | {std::string("Boxcat-Client-Type"), std::string(BOXCAT_CLIENT_TYPE)}, |
| 449 | }; | 449 | }; |
| 450 | 450 | ||