diff options
author | Yuri Kunde Schlesner <yuriks@yuriks.net> | 2015-01-14 06:26:27 +0100 |
---|---|---|
committer | Yuri Kunde Schlesner <yuriks@yuriks.net> | 2015-01-14 08:20:13 +0100 |
commit | 7630b3167210cc7f84c83af54dde23be948e3bc5 (patch) | |
tree | ea2d84fc067d6f2ec02f0745bebb93fdf68b6390 /src/core/hle/service/gsp_gpu.h | |
parent | GPU: Do periodic VBlank updates using CoreTiming (diff) | |
download | yuzu-7630b3167210cc7f84c83af54dde23be948e3bc5.tar yuzu-7630b3167210cc7f84c83af54dde23be948e3bc5.tar.gz yuzu-7630b3167210cc7f84c83af54dde23be948e3bc5.tar.bz2 yuzu-7630b3167210cc7f84c83af54dde23be948e3bc5.tar.lz yuzu-7630b3167210cc7f84c83af54dde23be948e3bc5.tar.xz yuzu-7630b3167210cc7f84c83af54dde23be948e3bc5.tar.zst yuzu-7630b3167210cc7f84c83af54dde23be948e3bc5.zip |
Diffstat (limited to '')
-rw-r--r-- | src/core/hle/service/gsp_gpu.h | 25 |
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 }; |