mirror of
https://github.com/switchbrew/libnx.git
synced 2025-07-04 10:32:15 +02:00
hiddbg: Adds a function to return tmem directly
This commit is contained in:
parent
5a7f14409e
commit
3204e5581f
@ -182,6 +182,9 @@ Result hiddbgAttachHdlsWorkBuffer(void);
|
||||
/// Exit Hdls, must be called at some point prior to hiddbgExit. Only available with [7.0.0+].
|
||||
Result hiddbgReleaseHdlsWorkBuffer(void);
|
||||
|
||||
/// Gets the Tmem pointer. Use only after calling hiddbgAttachHdlsWorkBuffer()
|
||||
TransferMemory *hiddbgGetWorkBufferTransferMemoryAddress();
|
||||
|
||||
/// Gets state for \ref HiddbgHdlsNpadAssignment. Only available with [7.0.0+].
|
||||
Result hiddbgDumpHdlsNpadAssignmentState(HiddbgHdlsNpadAssignment *state);
|
||||
|
||||
|
@ -392,6 +392,11 @@ Result hiddbgReleaseHdlsWorkBuffer(void) {
|
||||
return rc;
|
||||
}
|
||||
|
||||
TransferMemory *hiddbgGetWorkBufferTransferMemoryAddress()
|
||||
{
|
||||
return &g_hiddbgHdlsTmem;
|
||||
}
|
||||
|
||||
Result hiddbgDumpHdlsNpadAssignmentState(HiddbgHdlsNpadAssignment *state) {
|
||||
Result rc=0;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user