diff options
author | bunnei <bunneidev@gmail.com> | 2014-12-03 07:04:22 +0100 |
---|---|---|
committer | bunnei <bunneidev@gmail.com> | 2014-12-10 01:07:14 +0100 |
commit | f94d8f960361e36c5436717924bda5a3a6c6d47a (patch) | |
tree | ecad0fa27f48e672af06218ef850c9ae673147a3 /src/video_core/command_processor.cpp | |
parent | GSP: Updated TriggerCmdReqQueue to return success code. (diff) | |
download | yuzu-f94d8f960361e36c5436717924bda5a3a6c6d47a.tar yuzu-f94d8f960361e36c5436717924bda5a3a6c6d47a.tar.gz yuzu-f94d8f960361e36c5436717924bda5a3a6c6d47a.tar.bz2 yuzu-f94d8f960361e36c5436717924bda5a3a6c6d47a.tar.lz yuzu-f94d8f960361e36c5436717924bda5a3a6c6d47a.tar.xz yuzu-f94d8f960361e36c5436717924bda5a3a6c6d47a.tar.zst yuzu-f94d8f960361e36c5436717924bda5a3a6c6d47a.zip |
Diffstat (limited to '')
-rw-r--r-- | src/video_core/command_processor.cpp | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/src/video_core/command_processor.cpp b/src/video_core/command_processor.cpp index 585323a81..431139cc2 100644 --- a/src/video_core/command_processor.cpp +++ b/src/video_core/command_processor.cpp @@ -8,6 +8,7 @@ #include "pica.h" #include "primitive_assembly.h" #include "vertex_shader.h" +#include "core/hle/service/gsp_gpu.h" #include "debug_utils/debug_utils.h" @@ -40,6 +41,11 @@ static inline void WritePicaReg(u32 id, u32 value, u32 mask) { DebugUtils::OnPicaRegWrite(id, registers[id]); switch(id) { + // Trigger IRQ + case PICA_REG_INDEX(trigger_irq): + GSP_GPU::SignalInterrupt(GSP_GPU::InterruptId::P3D); + return; + // It seems like these trigger vertex rendering case PICA_REG_INDEX(trigger_draw): case PICA_REG_INDEX(trigger_draw_indexed): |