2
1
Fork 0
mirror of https://github.com/yuzu-emu/yuzu.git synced 2024-07-04 23:31:19 +01:00

service: hid: Delete shared memory handle when unused

This commit is contained in:
german77 2024-01-07 12:55:24 -06:00
parent 1220309323
commit bc2d1262d7

View file

@ -130,6 +130,7 @@ void AppletResource::FreeAppletResourceId(u64 aruid) {
if (aruid_data.flag.is_assigned) {
aruid_data.shared_memory_format = nullptr;
aruid_data.flag.is_assigned.Assign(false);
shared_memory_holder[index].Finalize();
}
}