Difference between revisions of "DSP:RegisterInterruptEvents"

From 3dbrew
Jump to navigation Jump to search
(Clean up.)
m
Line 36: Line 36:
 
=Description=
 
=Description=
 
Application should unregister the event by setting handle to zero. If the session was closed before the event was unregistered, it will cause a handle leak in DSP process.
 
Application should unregister the event by setting handle to zero. If the session was closed before the event was unregistered, it will cause a handle leak in DSP process.
 +
 +
DSP can hold up to 6 concurrent registrations. More than that will cause registration to fail.

Revision as of 14:29, 15 February 2016

Request

Index Word Description
0 Header code [0x00150082]
1 Interrupt
2 Channel
3 0x0
4 Event handle (0 = unregister the event that was previous registered)

Response

Index Word Description
0 Header code [0x00150040]
1 Result code

Description

Application should unregister the event by setting handle to zero. If the session was closed before the event was unregistered, it will cause a handle leak in DSP process.

DSP can hold up to 6 concurrent registrations. More than that will cause registration to fail.