summaryrefslogtreecommitdiff
path: root/src/core/hle/service/nvnflinger
diff options
context:
space:
mode:
authorGravatar Liam2024-01-02 19:22:02 -0500
committerGravatar Liam2024-01-29 18:43:45 -0500
commita7e9d7842dc78e09bfe50ba3bc471b8a75d29b96 (patch)
tree075bbdbcf1d3afa6404220b14490be77fdacc32c /src/core/hle/service/nvnflinger
parentservice: split am into components (diff)
downloadyuzu-a7e9d7842dc78e09bfe50ba3bc471b8a75d29b96.tar.gz
yuzu-a7e9d7842dc78e09bfe50ba3bc471b8a75d29b96.tar.xz
yuzu-a7e9d7842dc78e09bfe50ba3bc471b8a75d29b96.zip
am: add new datatypes for per-applet state
Diffstat (limited to 'src/core/hle/service/nvnflinger')
-rw-r--r--src/core/hle/service/nvnflinger/fb_share_buffer_manager.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/core/hle/service/nvnflinger/fb_share_buffer_manager.cpp b/src/core/hle/service/nvnflinger/fb_share_buffer_manager.cpp
index 86e272b41..e71652cdf 100644
--- a/src/core/hle/service/nvnflinger/fb_share_buffer_manager.cpp
+++ b/src/core/hle/service/nvnflinger/fb_share_buffer_manager.cpp
@@ -128,7 +128,7 @@ Result AllocateHandleForBuffer(u32* out_handle, Nvidia::Module& nvdrv, Nvidia::D
128 128
129 // Ensure we maintain a clean state on failure. 129 // Ensure we maintain a clean state on failure.
130 ON_RESULT_FAILURE { 130 ON_RESULT_FAILURE {
131 ASSERT(R_SUCCEEDED(FreeNvMapHandle(*nvmap, *out_handle, nvmap_fd))); 131 R_ASSERT(FreeNvMapHandle(*nvmap, *out_handle, nvmap_fd));
132 }; 132 };
133 133
134 // Assign the allocated memory to the handle. 134 // Assign the allocated memory to the handle.