fatal: wip (pending libnx pr) update for new sf semantics

This commit is contained in:
Michael Scire
2021-01-18 08:48:47 -08:00
parent a63b97fbbd
commit ea9d360b14
7 changed files with 191 additions and 28 deletions

View File

@@ -145,7 +145,7 @@ namespace ams::fatal::srv {
return g_context.ThrowFatalWithCpuContext(result, client_pid.GetValue(), policy, cpu_ctx);
}
Result PrivateService::GetFatalEvent(sf::OutCopyHandle out_h) {
Result Service::GetFatalEvent(sf::OutCopyHandle out_h) {
const os::SystemEventType *event;
R_TRY(g_context.GetEvent(std::addressof(event)));
out_h.SetValue(os::GetReadableHandleOfSystemEvent(event));