summaryrefslogtreecommitdiffstats
path: root/src/core/hle/service/bcat
diff options
context:
space:
mode:
authorZach Hilman <zachhilman@gmail.com>2019-10-02 14:35:39 +0200
committerZach Hilman <zachhilman@gmail.com>2019-10-02 14:35:43 +0200
commite55d086cc93ea33829e77a2e92be52bcf900767b (patch)
tree486fd9ddf5f0072aaee18cd69e399e33043eb314 /src/core/hle/service/bcat
parentboxcat: Use updated game-asset API URL and tags (diff)
downloadyuzu-e55d086cc93ea33829e77a2e92be52bcf900767b.tar
yuzu-e55d086cc93ea33829e77a2e92be52bcf900767b.tar.gz
yuzu-e55d086cc93ea33829e77a2e92be52bcf900767b.tar.bz2
yuzu-e55d086cc93ea33829e77a2e92be52bcf900767b.tar.lz
yuzu-e55d086cc93ea33829e77a2e92be52bcf900767b.tar.xz
yuzu-e55d086cc93ea33829e77a2e92be52bcf900767b.tar.zst
yuzu-e55d086cc93ea33829e77a2e92be52bcf900767b.zip
Diffstat (limited to 'src/core/hle/service/bcat')
-rw-r--r--src/core/hle/service/bcat/backend/boxcat.cpp11
1 files changed, 5 insertions, 6 deletions
diff --git a/src/core/hle/service/bcat/backend/boxcat.cpp b/src/core/hle/service/bcat/backend/boxcat.cpp
index 36eb2c094..e6ee0810b 100644
--- a/src/core/hle/service/bcat/backend/boxcat.cpp
+++ b/src/core/hle/service/bcat/backend/boxcat.cpp
@@ -364,18 +364,17 @@ void SynchronizeInternal(DirectoryGetter dir_getter, TitleIDVersion title,
bool Boxcat::Synchronize(TitleIDVersion title, ProgressServiceBackend& progress) {
is_syncing.exchange(true);
- std::thread([this, title, &progress] {
- SynchronizeInternal(dir_getter, title, progress);
- }).detach();
+ std::thread([this, title, &progress] { SynchronizeInternal(dir_getter, title, progress); })
+ .detach();
return true;
}
bool Boxcat::SynchronizeDirectory(TitleIDVersion title, std::string name,
ProgressServiceBackend& progress) {
is_syncing.exchange(true);
- std::thread([this, title, name, &progress] {
- SynchronizeInternal(dir_getter, title, progress, name);
- }).detach();
+ std::thread(
+ [this, title, name, &progress] { SynchronizeInternal(dir_getter, title, progress, name); })
+ .detach();
return true;
}