sm: Update for libstratosphere refactor

This commit is contained in:
Michael Scire authored and SciresM committed 2018-10-31 05:04:00 +09:00
1 parent 058f735031
commit 9a8c70ed68
7 files changed
+87 -144

No files matched your search

+2 -2
View File
@@ -16,7 +16,7 @@
#include <switch.h>
#include <algorithm>
#include <stratosphere/servicesession.hpp>
#include <stratosphere.hpp>
#include "sm_registration.hpp"
#include "meta_tools.hpp"
@@ -250,7 +250,7 @@ Result Registration::GetServiceHandle(u64 pid, u64 service, Handle *out) {
struct {
u64 magic;
u64 result;
u64 should_mitm;
bool should_mitm;
} *resp = ((decltype(resp))r.Raw);
rc = resp->result;
if (R_SUCCEEDED(rc)) {