summaryrefslogtreecommitdiffstats
path: root/src/core/hle/service/caps/caps.h
diff options
context:
space:
mode:
authorNarr the Reg <juangerman-13@hotmail.com>2023-10-04 04:05:02 +0200
committerNarr the Reg <juangerman-13@hotmail.com>2023-10-08 04:57:20 +0200
commit8347e5cdb9377eb10dfd3b17aeb45290625687a1 (patch)
treec584d085b5363f520b8bebb2ff2eeade9ee62a0d /src/core/hle/service/caps/caps.h
parentexternals: stb: Split library into cpp file (diff)
downloadyuzu-8347e5cdb9377eb10dfd3b17aeb45290625687a1.tar
yuzu-8347e5cdb9377eb10dfd3b17aeb45290625687a1.tar.gz
yuzu-8347e5cdb9377eb10dfd3b17aeb45290625687a1.tar.bz2
yuzu-8347e5cdb9377eb10dfd3b17aeb45290625687a1.tar.lz
yuzu-8347e5cdb9377eb10dfd3b17aeb45290625687a1.tar.xz
yuzu-8347e5cdb9377eb10dfd3b17aeb45290625687a1.tar.zst
yuzu-8347e5cdb9377eb10dfd3b17aeb45290625687a1.zip
Diffstat (limited to 'src/core/hle/service/caps/caps.h')
-rw-r--r--src/core/hle/service/caps/caps.h81
1 files changed, 0 insertions, 81 deletions
diff --git a/src/core/hle/service/caps/caps.h b/src/core/hle/service/caps/caps.h
index 15f0ecfaa..58e9725b8 100644
--- a/src/core/hle/service/caps/caps.h
+++ b/src/core/hle/service/caps/caps.h
@@ -3,93 +3,12 @@
#pragma once
-#include "common/common_funcs.h"
-#include "common/common_types.h"
-
namespace Core {
class System;
}
-namespace Service::SM {
-class ServiceManager;
-}
-
namespace Service::Capture {
-enum class AlbumImageOrientation {
- Orientation0 = 0,
- Orientation1 = 1,
- Orientation2 = 2,
- Orientation3 = 3,
-};
-
-enum class AlbumReportOption : s32 {
- Disable = 0,
- Enable = 1,
-};
-
-enum class ContentType : u8 {
- Screenshot = 0,
- Movie = 1,
- ExtraMovie = 3,
-};
-
-enum class AlbumStorage : u8 {
- NAND = 0,
- SD = 1,
-};
-
-struct AlbumFileDateTime {
- s16 year{};
- s8 month{};
- s8 day{};
- s8 hour{};
- s8 minute{};
- s8 second{};
- s8 uid{};
-};
-static_assert(sizeof(AlbumFileDateTime) == 0x8, "AlbumFileDateTime has incorrect size.");
-
-struct AlbumEntry {
- u64 size{};
- u64 application_id{};
- AlbumFileDateTime datetime{};
- AlbumStorage storage{};
- ContentType content{};
- INSERT_PADDING_BYTES(6);
-};
-static_assert(sizeof(AlbumEntry) == 0x20, "AlbumEntry has incorrect size.");
-
-struct AlbumFileEntry {
- u64 size{}; // Size of the entry
- u64 hash{}; // AES256 with hardcoded key over AlbumEntry
- AlbumFileDateTime datetime{};
- AlbumStorage storage{};
- ContentType content{};
- INSERT_PADDING_BYTES(5);
- u8 unknown{1}; // Set to 1 on official SW
-};
-static_assert(sizeof(AlbumFileEntry) == 0x20, "AlbumFileEntry has incorrect size.");
-
-struct ApplicationAlbumEntry {
- u64 size{}; // Size of the entry
- u64 hash{}; // AES256 with hardcoded key over AlbumEntry
- AlbumFileDateTime datetime{};
- AlbumStorage storage{};
- ContentType content{};
- INSERT_PADDING_BYTES(5);
- u8 unknown{1}; // Set to 1 on official SW
-};
-static_assert(sizeof(ApplicationAlbumEntry) == 0x20, "ApplicationAlbumEntry has incorrect size.");
-
-struct ApplicationAlbumFileEntry {
- ApplicationAlbumEntry entry{};
- AlbumFileDateTime datetime{};
- u64 unknown{};
-};
-static_assert(sizeof(ApplicationAlbumFileEntry) == 0x30,
- "ApplicationAlbumFileEntry has incorrect size.");
-
void LoopProcess(Core::System& system);
} // namespace Service::Capture