mirror of
https://github.com/switchbrew/libnx.git
synced 2025-06-21 12:32:40 +02:00
hiddbg: remove implicit transfer memory creation
This commit is contained in:
parent
7568385a7d
commit
1450757005
@ -478,9 +478,6 @@ Result hiddbgAttachHdlsWorkBuffer(HiddbgHdlsSessionId *session_id, void *buffer,
|
||||
if (g_hiddbgHdlsInitialized)
|
||||
return MAKERESULT(Module_Libnx, LibnxError_AlreadyInitialized);
|
||||
|
||||
if (buffer==NULL)
|
||||
rc = tmemCreate(&g_hiddbgHdlsTmem, 0x1000, Perm_Rw);
|
||||
else
|
||||
rc = tmemCreateFromMemory(&g_hiddbgHdlsTmem, buffer, size, Perm_Rw);
|
||||
if (R_FAILED(rc)) return rc;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user