am: add new datatypes for per-applet state
This commit is contained in:
parent
7de6b41030
commit
a7e9d7842d
19 changed files with 1496 additions and 1 deletions
|
@ -128,7 +128,7 @@ Result AllocateHandleForBuffer(u32* out_handle, Nvidia::Module& nvdrv, Nvidia::D
|
|||
|
||||
// Ensure we maintain a clean state on failure.
|
||||
ON_RESULT_FAILURE {
|
||||
ASSERT(R_SUCCEEDED(FreeNvMapHandle(*nvmap, *out_handle, nvmap_fd)));
|
||||
R_ASSERT(FreeNvMapHandle(*nvmap, *out_handle, nvmap_fd));
|
||||
};
|
||||
|
||||
// Assign the allocated memory to the handle.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue