summaryrefslogtreecommitdiffstats
path: root/src/core/hle/service/bcat
diff options
context:
space:
mode:
authorZach Hilman <zachhilman@gmail.com>2019-10-01 15:13:31 +0200
committerZach Hilman <zachhilman@gmail.com>2019-10-01 15:13:31 +0200
commit5d86c52a3a5ec1037cc30e1a6d8abf914e3055a4 (patch)
tree5a11b8c22d1d847eeea2612f321393a8698268e1 /src/core/hle/service/bcat
parentbcat: Add FSC accessors for BCAT data (diff)
downloadyuzu-5d86c52a3a5ec1037cc30e1a6d8abf914e3055a4.tar
yuzu-5d86c52a3a5ec1037cc30e1a6d8abf914e3055a4.tar.gz
yuzu-5d86c52a3a5ec1037cc30e1a6d8abf914e3055a4.tar.bz2
yuzu-5d86c52a3a5ec1037cc30e1a6d8abf914e3055a4.tar.lz
yuzu-5d86c52a3a5ec1037cc30e1a6d8abf914e3055a4.tar.xz
yuzu-5d86c52a3a5ec1037cc30e1a6d8abf914e3055a4.tar.zst
yuzu-5d86c52a3a5ec1037cc30e1a6d8abf914e3055a4.zip
Diffstat (limited to 'src/core/hle/service/bcat')
-rw-r--r--src/core/hle/service/bcat/backend/boxcat.cpp12
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};
constexpr char BOXCAT_HOSTNAME[] = "api.yuzu-emu.org";
// Formatted using fmt with arg[0] = hex title id
-constexpr char BOXCAT_PATHNAME_DATA[] = "/boxcat/titles/{:016X}/data";
-constexpr char BOXCAT_PATHNAME_LAUNCHPARAM[] = "/boxcat/titles/{:016X}/launchparam";
+constexpr char BOXCAT_PATHNAME_DATA[] = "/game-assets/{:016X}/boxcat";
+constexpr char BOXCAT_PATHNAME_LAUNCHPARAM[] = "/game-assets/{:016X}/launchparam";
-constexpr char BOXCAT_PATHNAME_EVENTS[] = "/boxcat/events";
+constexpr char BOXCAT_PATHNAME_EVENTS[] = "/game-assets/boxcat/events";
constexpr char BOXCAT_API_VERSION[] = "1";
constexpr char BOXCAT_CLIENT_TYPE[] = "yuzu";
@@ -203,9 +203,9 @@ private:
}
httplib::Headers headers{
- {std::string("Boxcat-Client-Version"), std::string(BOXCAT_API_VERSION)},
+ {std::string("Game-Assets-API-Version"), std::string(BOXCAT_API_VERSION)},
{std::string("Boxcat-Client-Type"), std::string(BOXCAT_CLIENT_TYPE)},
- {std::string("Boxcat-Build-Id"), fmt::format("{:016X}", build_id)},
+ {std::string("Game-Build-Id"), fmt::format("{:016X}", build_id)},
};
if (FileUtil::Exists(path)) {
@@ -444,7 +444,7 @@ Boxcat::StatusResult Boxcat::GetStatus(std::optional<std::string>& global,
static_cast<int>(TIMEOUT_SECONDS)};
httplib::Headers headers{
- {std::string("Boxcat-Client-Version"), std::string(BOXCAT_API_VERSION)},
+ {std::string("Game-Assets-API-Version"), std::string(BOXCAT_API_VERSION)},
{std::string("Boxcat-Client-Type"), std::string(BOXCAT_CLIENT_TYPE)},
};