diff options
author | bunnei <bunneidev@gmail.com> | 2014-07-23 04:59:26 +0200 |
---|---|---|
committer | bunnei <bunneidev@gmail.com> | 2014-08-06 05:57:53 +0200 |
commit | ec14ffe1cda04cd098ce07f3d3ad96c253e91eed (patch) | |
tree | fe459fc75a4ba62ed1a730e8a4ccbdffa2846dca /src/core/hle/service/gsp.h | |
parent | MemMap: Fixed typo with GetPointer to VRAM address. (diff) | |
download | yuzu-ec14ffe1cda04cd098ce07f3d3ad96c253e91eed.tar yuzu-ec14ffe1cda04cd098ce07f3d3ad96c253e91eed.tar.gz yuzu-ec14ffe1cda04cd098ce07f3d3ad96c253e91eed.tar.bz2 yuzu-ec14ffe1cda04cd098ce07f3d3ad96c253e91eed.tar.lz yuzu-ec14ffe1cda04cd098ce07f3d3ad96c253e91eed.tar.xz yuzu-ec14ffe1cda04cd098ce07f3d3ad96c253e91eed.tar.zst yuzu-ec14ffe1cda04cd098ce07f3d3ad96c253e91eed.zip |
Diffstat (limited to '')
-rw-r--r-- | src/core/hle/service/gsp.h | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/src/core/hle/service/gsp.h b/src/core/hle/service/gsp.h index a83cb4846..5a649d2df 100644 --- a/src/core/hle/service/gsp.h +++ b/src/core/hle/service/gsp.h @@ -29,6 +29,16 @@ enum class GXCommandId : u32 { SET_COMMAND_LIST_FIRST = 0x05, }; +enum class GXInterruptId : u8 { + PSC0 = 0x00, + PSC1 = 0x01, + PDC0 = 0x02, // Seems called every vertical screen line + PDC1 = 0x03, // Seems called every frame + PPF = 0x04, + P3D = 0x05, + DMA = 0x06, +}; + struct GXCommand { BitField<0, 8, GXCommandId> id; @@ -84,4 +94,10 @@ public: }; +/** + * Signals that the specified interrupt type has occurred to userland code + * @param interrupt_id ID of interrupt that is being signalled + */ +void SignalInterrupt(GXInterruptId interrupt_id); + } // namespace |