summaryrefslogtreecommitdiffstats
path: root/src/core/hle/service/bcat/backend/boxcat.cpp
diff options
context:
space:
mode:
authorLioncash <mathew1800@gmail.com>2020-04-17 04:43:33 +0200
committerLioncash <mathew1800@gmail.com>2020-04-17 05:43:34 +0200
commite2d8be1ca2cee27eb17964dd99c71dfd12431506 (patch)
treea1b92b6e3979373c1fb034e012fb1e9051ecf3db /src/core/hle/service/bcat/backend/boxcat.cpp
parentCMakeLists: Enable -Wmissing-declarations on Linux builds (diff)
downloadyuzu-e2d8be1ca2cee27eb17964dd99c71dfd12431506.tar
yuzu-e2d8be1ca2cee27eb17964dd99c71dfd12431506.tar.gz
yuzu-e2d8be1ca2cee27eb17964dd99c71dfd12431506.tar.bz2
yuzu-e2d8be1ca2cee27eb17964dd99c71dfd12431506.tar.lz
yuzu-e2d8be1ca2cee27eb17964dd99c71dfd12431506.tar.xz
yuzu-e2d8be1ca2cee27eb17964dd99c71dfd12431506.tar.zst
yuzu-e2d8be1ca2cee27eb17964dd99c71dfd12431506.zip
Diffstat (limited to 'src/core/hle/service/bcat/backend/boxcat.cpp')
-rw-r--r--src/core/hle/service/bcat/backend/boxcat.cpp7
1 files changed, 1 insertions, 6 deletions
diff --git a/src/core/hle/service/bcat/backend/boxcat.cpp b/src/core/hle/service/bcat/backend/boxcat.cpp
index f589864ee..5febe8fc1 100644
--- a/src/core/hle/service/bcat/backend/boxcat.cpp
+++ b/src/core/hle/service/bcat/backend/boxcat.cpp
@@ -18,6 +18,7 @@
#include "core/hle/service/bcat/backend/boxcat.h"
#include "core/settings.h"
+namespace Service::BCAT {
namespace {
// Prevents conflicts with windows macro called CreateFile
@@ -30,10 +31,6 @@ bool VfsDeleteFileWrap(FileSys::VirtualDir dir, std::string_view name) {
return dir->DeleteFile(name);
}
-} // Anonymous namespace
-
-namespace Service::BCAT {
-
constexpr ResultCode ERROR_GENERAL_BCAT_FAILURE{ErrorModule::BCAT, 1};
constexpr char BOXCAT_HOSTNAME[] = "api.yuzu-emu.org";
@@ -90,8 +87,6 @@ constexpr u32 PORT = 443;
constexpr u32 TIMEOUT_SECONDS = 30;
[[maybe_unused]] constexpr u64 VFS_COPY_BLOCK_SIZE = 1ULL << 24; // 4MB
-namespace {
-
std::string GetBINFilePath(u64 title_id) {
return fmt::format("{}bcat/{:016X}/launchparam.bin",
FileUtil::GetUserPath(FileUtil::UserPath::CacheDir), title_id);