strat: prefer os::NativeHandle to Handle/svc::Handle where sensible
This commit is contained in:
1 parent
597d521f52
commit
d0041a33ac
50 files changed
+193
-190
No files matched your search
@@ -43,7 +43,8 @@ namespace ams::pm {
|
||||
}
|
||||
|
||||
Result InformationService::AtmosphereGetProcessInfo(sf::Out<ncm::ProgramLocation> out_loc, sf::Out<cfg::OverrideStatus> out_status, os::ProcessId process_id) {
|
||||
Handle dummy_handle;
|
||||
/* NOTE: We don't need to worry about closing this handle, because it's an in-process copy, not a newly allocated handle. */
|
||||
os::NativeHandle dummy_handle;
|
||||
return impl::AtmosphereGetProcessInfo(&dummy_handle, out_loc.GetPointer(), out_status.GetPointer(), process_id);
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user