summaryrefslogtreecommitdiffstats
path: root/src/core/hle/service/gsp.h
diff options
context:
space:
mode:
authorTony Wasserka <NeoBrainX@gmail.com>2014-07-25 11:23:28 +0200
committerTony Wasserka <NeoBrainX@gmail.com>2014-08-25 22:03:18 +0200
commit590c206ac8836f0e4544d2cb84191d77d07b9f36 (patch)
treec6fe97637f83094e93ca74225f52dd655ab393fd /src/core/hle/service/gsp.h
parentGSP: Add a helper function for convenience. (diff)
downloadyuzu-590c206ac8836f0e4544d2cb84191d77d07b9f36.tar
yuzu-590c206ac8836f0e4544d2cb84191d77d07b9f36.tar.gz
yuzu-590c206ac8836f0e4544d2cb84191d77d07b9f36.tar.bz2
yuzu-590c206ac8836f0e4544d2cb84191d77d07b9f36.tar.lz
yuzu-590c206ac8836f0e4544d2cb84191d77d07b9f36.tar.xz
yuzu-590c206ac8836f0e4544d2cb84191d77d07b9f36.tar.zst
yuzu-590c206ac8836f0e4544d2cb84191d77d07b9f36.zip
Diffstat (limited to 'src/core/hle/service/gsp.h')
-rw-r--r--src/core/hle/service/gsp.h12
1 files changed, 12 insertions, 0 deletions
diff --git a/src/core/hle/service/gsp.h b/src/core/hle/service/gsp.h
index b25dbb7bc..884cfd65a 100644
--- a/src/core/hle/service/gsp.h
+++ b/src/core/hle/service/gsp.h
@@ -64,6 +64,18 @@ struct InterruptRelayQueue {
static_assert(sizeof(InterruptRelayQueue) == 0x40,
"InterruptRelayQueue struct has incorrect size");
+struct FrameBufferInfo {
+ BitField<0, 1, u32> active_fb; // 0 = first, 1 = second
+
+ u32 address_left;
+ u32 address_right;
+ u32 stride; // maps to 0x1EF00X90 ?
+ u32 format; // maps to 0x1EF00X70 ?
+ u32 shown_fb; // maps to 0x1EF00X78 ?
+ u32 unknown;
+};
+static_assert(sizeof(FrameBufferInfo) == 0x1c, "Struct has incorrect size");
+
/// GSP command
struct Command {
BitField<0, 8, CommandId> id;