diff --git a/include/stratosphere/ipc_templating.hpp b/include/stratosphere/ipc_templating.hpp index f9e00fdf..7150fa38 100644 --- a/include/stratosphere/ipc_templating.hpp +++ b/include/stratosphere/ipc_templating.hpp @@ -202,6 +202,7 @@ T GetValueFromIpcParsedCommand(IpcParsedCommand& r, IpcCommand& out_c, u8 *point } else if constexpr (is_ipc_handle::value) { return r.Handles[h_index++]; } else if constexpr (std::is_same::value) { + cur_rawdata_index += sizeof(u64) / sizeof(u32); return PidDescriptor(r.Pid); } else { cur_rawdata_index += size_in_raw_data::value / sizeof(u32);