summaryrefslogtreecommitdiffstats
path: root/src/core/hle/service/gsp_gpu.h
diff options
context:
space:
mode:
authorbunnei <bunneidev@gmail.com>2015-01-16 00:11:03 +0100
committerbunnei <bunneidev@gmail.com>2015-01-16 00:11:03 +0100
commit4b47ed6194484e6cff264553bb383b7e9c608a9c (patch)
tree468b9214a0d0989d8702ba4baee221d5c028e5e7 /src/core/hle/service/gsp_gpu.h
parentMerge pull request #481 from Subv/hm_b (diff)
parentGPU: Fix buffer overrun in Display Transfers (diff)
downloadyuzu-4b47ed6194484e6cff264553bb383b7e9c608a9c.tar
yuzu-4b47ed6194484e6cff264553bb383b7e9c608a9c.tar.gz
yuzu-4b47ed6194484e6cff264553bb383b7e9c608a9c.tar.bz2
yuzu-4b47ed6194484e6cff264553bb383b7e9c608a9c.tar.lz
yuzu-4b47ed6194484e6cff264553bb383b7e9c608a9c.tar.xz
yuzu-4b47ed6194484e6cff264553bb383b7e9c608a9c.tar.zst
yuzu-4b47ed6194484e6cff264553bb383b7e9c608a9c.zip
Diffstat (limited to 'src/core/hle/service/gsp_gpu.h')
-rw-r--r--src/core/hle/service/gsp_gpu.h25
1 files changed, 10 insertions, 15 deletions
diff --git a/src/core/hle/service/gsp_gpu.h b/src/core/hle/service/gsp_gpu.h
index 932b6170f..65abb194a 100644
--- a/src/core/hle/service/gsp_gpu.h
+++ b/src/core/hle/service/gsp_gpu.h
@@ -45,21 +45,16 @@ enum class CommandId : u32 {
/// GSP thread interrupt relay queue
struct InterruptRelayQueue {
- union {
- u32 hex;
-
- // Index of last interrupt in the queue
- BitField<0,8,u32> index;
-
- // Number of interrupts remaining to be processed by the userland code
- BitField<8,8,u32> number_interrupts;
-
- // Error code - zero on success, otherwise an error has occurred
- BitField<16,8,u32> error_code;
- };
-
- u32 unk0;
- u32 unk1;
+ // Index of last interrupt in the queue
+ u8 index;
+ // Number of interrupts remaining to be processed by the userland code
+ u8 number_interrupts;
+ // Error code - zero on success, otherwise an error has occurred
+ u8 error_code;
+ u8 padding1;
+
+ u32 missed_PDC0;
+ u32 missed_PDC1;
InterruptId slot[0x34]; ///< Interrupt ID slots
};