From 68846af0444ed41d16c4569e3b03d8bde54d0917 Mon Sep 17 00:00:00 2001 From: yellows8 Date: Wed, 28 Nov 2018 16:37:33 -0500 Subject: [PATCH] Removed alignment for object_ids in ipcParseDomainResponse, since official sw doesn't have this. --- nx/include/switch/kernel/ipc.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/nx/include/switch/kernel/ipc.h b/nx/include/switch/kernel/ipc.h index 6d016078..4bc0e187 100644 --- a/nx/include/switch/kernel/ipc.h +++ b/nx/include/switch/kernel/ipc.h @@ -718,7 +718,7 @@ static inline Result ipcParseDomainResponse(IpcParsedCommand* r, size_t sizeof_r hdr = (DomainResponseHeader*) r->Raw; r->Raw = (void*)(((uintptr_t) r->Raw) + sizeof(DomainResponseHeader)); - object_ids = (u32*)((((uintptr_t) r->Raw) + sizeof_raw + 3) & ~3); + object_ids = (u32*)(((uintptr_t) r->Raw) + sizeof_raw);//Official sw doesn't align this. r->IsDomainResponse = true;