diff options
author | Subv <subv2112@gmail.com> | 2016-05-05 19:36:07 +0200 |
---|---|---|
committer | Subv <subv2112@gmail.com> | 2016-05-07 17:01:40 +0200 |
commit | 6970b7d3d511194d3b229358375c528b0136e82c (patch) | |
tree | 02685af986ae1adf6e0de3e17dae67dc0fb367ed /src/core/hle/service | |
parent | Merge pull request #1754 from JayFoxRox/fix-const_color-revert (diff) | |
download | yuzu-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.h | 15 |
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, |