summaryrefslogtreecommitdiffstats
path: root/src/core/file_sys/archive_backend.h
diff options
context:
space:
mode:
authorSubv <subv2112@gmail.com>2016-03-03 19:05:50 +0100
committerSubv <subv2112@gmail.com>2016-03-20 20:52:50 +0100
commitf707026ac50c53716ac697ed439630d7728e9db6 (patch)
tree6e8b20bcfb2e72645a7f098c78574917f613452e /src/core/file_sys/archive_backend.h
parentHLE/FS: Corrected some style concerns. (diff)
downloadyuzu-f707026ac50c53716ac697ed439630d7728e9db6.tar
yuzu-f707026ac50c53716ac697ed439630d7728e9db6.tar.gz
yuzu-f707026ac50c53716ac697ed439630d7728e9db6.tar.bz2
yuzu-f707026ac50c53716ac697ed439630d7728e9db6.tar.lz
yuzu-f707026ac50c53716ac697ed439630d7728e9db6.tar.xz
yuzu-f707026ac50c53716ac697ed439630d7728e9db6.tar.zst
yuzu-f707026ac50c53716ac697ed439630d7728e9db6.zip
Diffstat (limited to 'src/core/file_sys/archive_backend.h')
-rw-r--r--src/core/file_sys/archive_backend.h7
1 files changed, 4 insertions, 3 deletions
diff --git a/src/core/file_sys/archive_backend.h b/src/core/file_sys/archive_backend.h
index 94cda172f..5d91e47f3 100644
--- a/src/core/file_sys/archive_backend.h
+++ b/src/core/file_sys/archive_backend.h
@@ -11,6 +11,7 @@
#include "common/bit_field.h"
#include "common/common_types.h"
+#include "common/swap.h"
#include "core/hle/result.h"
@@ -63,9 +64,9 @@ private:
};
struct ArchiveFormatInfo {
- u32 total_size; ///< The pre-defined size of the archive, as specified in the Create or Format call
- u32 number_directories; ///< The pre-defined number of directories in the archive, as specified in the Create or Format call
- u32 number_files; ///< The pre-defined number of files in the archive, as specified in the Create or Format call
+ u32_le total_size; ///< The pre-defined size of the archive, as specified in the Create or Format call
+ u32_le number_directories; ///< The pre-defined number of directories in the archive, as specified in the Create or Format call
+ u32_le number_files; ///< The pre-defined number of files in the archive, as specified in the Create or Format call
u8 duplicate_data; ///< Whether the archive should duplicate the data, as specified in the Create or Format call
};
static_assert(std::is_pod<ArchiveFormatInfo>::value, "ArchiveFormatInfo is not POD");