mirror of
https://github.com/citra-emu/citra.git
synced 2024-11-24 06:51:05 +00:00
GSP/DSP: Named some interrupt signals.
This commit is contained in:
parent
b3288c4cf9
commit
a5b33e352b
@ -98,6 +98,8 @@ static void RegisterInterruptEvents(Service::Interface* self) {
|
|||||||
auto evt = Kernel::g_handle_table.Get<Kernel::Event>(cmd_buff[4]);
|
auto evt = Kernel::g_handle_table.Get<Kernel::Event>(cmd_buff[4]);
|
||||||
if (evt != nullptr) {
|
if (evt != nullptr) {
|
||||||
interrupt_event = evt;
|
interrupt_event = evt;
|
||||||
|
interrupt_event->name = "DSP_DSP::interrupt_event";
|
||||||
|
|
||||||
cmd_buff[1] = 0; // No error
|
cmd_buff[1] = 0; // No error
|
||||||
} else {
|
} else {
|
||||||
LOG_ERROR(Service_DSP, "called with invalid handle=%08X", cmd_buff[4]);
|
LOG_ERROR(Service_DSP, "called with invalid handle=%08X", cmd_buff[4]);
|
||||||
|
@ -271,6 +271,7 @@ static void RegisterInterruptRelayQueue(Service::Interface* self) {
|
|||||||
u32 flags = cmd_buff[1];
|
u32 flags = cmd_buff[1];
|
||||||
|
|
||||||
g_interrupt_event = Kernel::g_handle_table.Get<Kernel::Event>(cmd_buff[3]);
|
g_interrupt_event = Kernel::g_handle_table.Get<Kernel::Event>(cmd_buff[3]);
|
||||||
|
g_interrupt_event->name = "GSP_GPU::interrupt_event";
|
||||||
ASSERT_MSG((g_interrupt_event != nullptr), "handle is not valid!");
|
ASSERT_MSG((g_interrupt_event != nullptr), "handle is not valid!");
|
||||||
g_shared_memory = Kernel::SharedMemory::Create("GSPSharedMem");
|
g_shared_memory = Kernel::SharedMemory::Create("GSPSharedMem");
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user