From a5b33e352b980ca810e1076ddf393698b9a9f45c Mon Sep 17 00:00:00 2001 From: bunnei Date: Mon, 16 Feb 2015 20:50:59 -0500 Subject: [PATCH] GSP/DSP: Named some interrupt signals. --- src/core/hle/service/dsp_dsp.cpp | 2 ++ src/core/hle/service/gsp_gpu.cpp | 1 + 2 files changed, 3 insertions(+) diff --git a/src/core/hle/service/dsp_dsp.cpp b/src/core/hle/service/dsp_dsp.cpp index 0b3603ce1..f7a2b46f1 100644 --- a/src/core/hle/service/dsp_dsp.cpp +++ b/src/core/hle/service/dsp_dsp.cpp @@ -98,6 +98,8 @@ static void RegisterInterruptEvents(Service::Interface* self) { auto evt = Kernel::g_handle_table.Get(cmd_buff[4]); if (evt != nullptr) { interrupt_event = evt; + interrupt_event->name = "DSP_DSP::interrupt_event"; + cmd_buff[1] = 0; // No error } else { LOG_ERROR(Service_DSP, "called with invalid handle=%08X", cmd_buff[4]); diff --git a/src/core/hle/service/gsp_gpu.cpp b/src/core/hle/service/gsp_gpu.cpp index 7d6ffce6b..fdfc2dfdd 100644 --- a/src/core/hle/service/gsp_gpu.cpp +++ b/src/core/hle/service/gsp_gpu.cpp @@ -271,6 +271,7 @@ static void RegisterInterruptRelayQueue(Service::Interface* self) { u32 flags = cmd_buff[1]; g_interrupt_event = Kernel::g_handle_table.Get(cmd_buff[3]); + g_interrupt_event->name = "GSP_GPU::interrupt_event"; ASSERT_MSG((g_interrupt_event != nullptr), "handle is not valid!"); g_shared_memory = Kernel::SharedMemory::Create("GSPSharedMem");