aboutsummaryrefslogtreecommitdiff
path: root/src/core/hle/service/caps/caps_manager.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/core/hle/service/caps/caps_manager.cpp')
-rw-r--r--src/core/hle/service/caps/caps_manager.cpp34
1 files changed, 8 insertions, 26 deletions
diff --git a/src/core/hle/service/caps/caps_manager.cpp b/src/core/hle/service/caps/caps_manager.cpp
index 407557b472..d3c4ab57d1 100644
--- a/src/core/hle/service/caps/caps_manager.cpp
+++ b/src/core/hle/service/caps/caps_manager.cpp
@@ -175,19 +175,10 @@ Result AlbumManager::LoadAlbumScreenShotImage(LoadAlbumScreenShotImageOutput& ou
return ResultIsNotMounted;
}
- out_image_output = {
- .width = 1280,
- .height = 720,
- .attribute =
- {
- .unknown_0{},
- .orientation = AlbumImageOrientation::None,
- .unknown_1{},
- .unknown_2{},
- .pad163{},
- },
- .pad179{},
- };
+ out_image_output = {};
+ out_image_output.width = 1280;
+ out_image_output.height = 720;
+ out_image_output.attribute.orientation = AlbumImageOrientation::None;
std::filesystem::path path;
const auto result = GetFile(path, file_id);
@@ -211,19 +202,10 @@ Result AlbumManager::LoadAlbumScreenShotThumbnail(
return ResultIsNotMounted;
}
- out_image_output = {
- .width = 320,
- .height = 180,
- .attribute =
- {
- .unknown_0{},
- .orientation = AlbumImageOrientation::None,
- .unknown_1{},
- .unknown_2{},
- .pad163{},
- },
- .pad179{},
- };
+ out_image_output = {};
+ out_image_output.width = 320;
+ out_image_output.height = 180;
+ out_image_output.attribute.orientation = AlbumImageOrientation::None;
std::filesystem::path path;
const auto result = GetFile(path, file_id);