am: add new datatypes for per-applet state

This commit is contained in:
Liam 2024-01-02 19:22:02 -05:00
parent 7de6b41030
commit a7e9d7842d
19 changed files with 1496 additions and 1 deletions

View file

@ -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.