summaryrefslogtreecommitdiffstats
path: root/src/core/hle/service
diff options
context:
space:
mode:
authorSubv <subv2112@gmail.com>2016-05-05 19:36:07 +0200
committerSubv <subv2112@gmail.com>2016-05-07 17:01:40 +0200
commit6970b7d3d511194d3b229358375c528b0136e82c (patch)
tree02685af986ae1adf6e0de3e17dae67dc0fb367ed /src/core/hle/service
parentMerge pull request #1754 from JayFoxRox/fix-const_color-revert (diff)
downloadyuzu-6970b7d3d511194d3b229358375c528b0136e82c.tar
yuzu-6970b7d3d511194d3b229358375c528b0136e82c.tar.gz
yuzu-6970b7d3d511194d3b229358375c528b0136e82c.tar.bz2
yuzu-6970b7d3d511194d3b229358375c528b0136e82c.tar.lz
yuzu-6970b7d3d511194d3b229358375c528b0136e82c.tar.xz
yuzu-6970b7d3d511194d3b229358375c528b0136e82c.tar.zst
yuzu-6970b7d3d511194d3b229358375c528b0136e82c.zip
Diffstat (limited to 'src/core/hle/service')
-rw-r--r--src/core/hle/service/apt/apt.h15
1 files changed, 15 insertions, 0 deletions
diff --git a/src/core/hle/service/apt/apt.h b/src/core/hle/service/apt/apt.h
index 668b4a66f..1a1034fcc 100644
--- a/src/core/hle/service/apt/apt.h
+++ b/src/core/hle/service/apt/apt.h
@@ -5,6 +5,7 @@
#pragma once
#include "common/common_types.h"
+#include "common/swap.h"
#include "core/hle/kernel/kernel.h"
@@ -31,6 +32,20 @@ struct AppletStartupParameter {
u8* data = nullptr;
};
+/// Used by the application to pass information about the current framebuffer to applets.
+struct CaptureBufferInfo {
+ u32_le size;
+ u8 is_3d;
+ INSERT_PADDING_BYTES(0x3); // Padding for alignment
+ u32_le top_screen_left_offset;
+ u32_le top_screen_right_offset;
+ u32_le top_screen_format;
+ u32_le bottom_screen_left_offset;
+ u32_le bottom_screen_right_offset;
+ u32_le bottom_screen_format;
+};
+static_assert(sizeof(CaptureBufferInfo) == 0x20, "CaptureBufferInfo struct has incorrect size");
+
/// Signals used by APT functions
enum class SignalType : u32 {
None = 0x0,