summaryrefslogtreecommitdiffstats
path: root/src/core/hle/service/bcat/bcat_types.h
diff options
context:
space:
mode:
authorNarr the Reg <juangerman-13@hotmail.com>2024-02-09 17:31:35 +0100
committerNarr the Reg <juangerman-13@hotmail.com>2024-02-10 07:23:23 +0100
commit816d03f7d96278c5b3d2604f94901270b10d4167 (patch)
tree3ef3a65b365de1217d60b9aad6a6d063e800e07b /src/core/hle/service/bcat/bcat_types.h
parentservice: bcat: Implement news interfaces (diff)
downloadyuzu-816d03f7d96278c5b3d2604f94901270b10d4167.tar
yuzu-816d03f7d96278c5b3d2604f94901270b10d4167.tar.gz
yuzu-816d03f7d96278c5b3d2604f94901270b10d4167.tar.bz2
yuzu-816d03f7d96278c5b3d2604f94901270b10d4167.tar.lz
yuzu-816d03f7d96278c5b3d2604f94901270b10d4167.tar.xz
yuzu-816d03f7d96278c5b3d2604f94901270b10d4167.tar.zst
yuzu-816d03f7d96278c5b3d2604f94901270b10d4167.zip
Diffstat (limited to 'src/core/hle/service/bcat/bcat_types.h')
-rw-r--r--src/core/hle/service/bcat/bcat_types.h10
1 files changed, 8 insertions, 2 deletions
diff --git a/src/core/hle/service/bcat/bcat_types.h b/src/core/hle/service/bcat/bcat_types.h
index a56f9248f..b35dab7c5 100644
--- a/src/core/hle/service/bcat/bcat_types.h
+++ b/src/core/hle/service/bcat/bcat_types.h
@@ -3,9 +3,13 @@
#pragma once
+#include <array>
+#include <functional>
+
#include "common/common_funcs.h"
#include "common/common_types.h"
#include "core/file_sys/vfs/vfs_types.h"
+#include "core/hle/result.h"
namespace Service::BCAT {
@@ -44,17 +48,19 @@ struct TitleIDVersion {
struct DeliveryCacheProgressImpl {
DeliveryCacheProgressStatus status;
- Result result = ResultSuccess;
+ Result result;
DirectoryName current_directory;
FileName current_file;
s64 current_downloaded_bytes; ///< Bytes downloaded on current file.
s64 current_total_bytes; ///< Bytes total on current file.
s64 total_downloaded_bytes; ///< Bytes downloaded on overall download.
s64 total_bytes; ///< Bytes total on overall download.
- INSERT_PADDING_BYTES(
+ INSERT_PADDING_BYTES_NOINIT(
0x198); ///< Appears to be unused in official code, possibly reserved for future use.
};
static_assert(sizeof(DeliveryCacheProgressImpl) == 0x200,
"DeliveryCacheProgressImpl has incorrect size.");
+static_assert(std::is_trivial_v<DeliveryCacheProgressImpl>,
+ "DeliveryCacheProgressImpl type must be trivially copyable.");
} // namespace Service::BCAT