CECDS:SprGetSlot: Difference between revisions

From 3dbrew
Jump to navigation Jump to search
Sorunome (talk | contribs)
Created page with "= Request = {{IPC/Request}} {{#vardefine:ipc_offset|0}} {{IPC/RequestEntry|Header code <code>0x040D0082</code>}} {{IPC/RequestEntry|title id}} {{IPC/RequestEntry|buffer size}}..."
 
Sorunome (talk | contribs)
Line 18: Line 18:
This copies a [[StreetPass#Slot_.280x6161.29|slot]] to be sent into the specified buffer.
This copies a [[StreetPass#Slot_.280x6161.29|slot]] to be sent into the specified buffer.


Requires the [[CECD_Services#CecSprStatus|Cec Spr Status]] to be <code>CEC_SPR_SEND_RECV_INIT</code>.
Requires the [[CECD_Services#CecSprStatus|Cec Spr Status]] to be <code>CEC_SPR_SEND_READY</code>.

Revision as of 20:05, 16 March 2025

Request

Index Word Description
0 Header code 0x040D0082
1 title id
2 buffer size
3 Descriptor for mapping a write-only buffer in the target process
4 buffer address

Response

Index Word Description
0 Header code
1 Result code

Description

This copies a slot to be sent into the specified buffer.

Requires the Cec Spr Status to be CEC_SPR_SEND_READY.