mirror of
https://codeberg.org/yuzu-emu/yuzu.git
synced 2025-12-16 12:09:04 +00:00
service/nvnflinger: Unstub GetNativeHandle
Removes the STUBBED designation from GetNativeHandle in IHOSBinderDriver as the implementation is now complete. Changes the log level from WARNING to DEBUG to reflect this status. The function properly handles binder ID validation and returns the appropriate handle as documented in switchbrew.
This commit is contained in:
parent
fbe1020e53
commit
a221fa295a
@ -61,7 +61,7 @@ Result IHOSBinderDriver::AdjustRefcount(s32 binder_id, s32 addval, s32 type) {
|
|||||||
|
|
||||||
Result IHOSBinderDriver::GetNativeHandle(s32 binder_id, u32 type_id,
|
Result IHOSBinderDriver::GetNativeHandle(s32 binder_id, u32 type_id,
|
||||||
OutCopyHandle<Kernel::KReadableEvent> out_handle) {
|
OutCopyHandle<Kernel::KReadableEvent> out_handle) {
|
||||||
LOG_WARNING(Service_VI, "(STUBBED) called id={}, type_id={}", binder_id, type_id);
|
LOG_DEBUG(Service_VI, "called id={}, type_id={}", binder_id, type_id);
|
||||||
|
|
||||||
const auto binder = m_server->TryGetBinder(binder_id);
|
const auto binder = m_server->TryGetBinder(binder_id);
|
||||||
R_UNLESS(binder != nullptr, ResultUnknown);
|
R_UNLESS(binder != nullptr, ResultUnknown);
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user