mirror of
https://github.com/Atmosphere-NX/Atmosphere.git
synced 2024-11-26 13:52:21 +00:00
Stratosphere: Fix IPC rawdata out size, QueryPointerBufferSize works on hardware now.
This commit is contained in:
parent
eded273328
commit
271272e13b
3 changed files with 3 additions and 3 deletions
|
@ -45,7 +45,7 @@ Result DebugMonitorService::dispatch(IpcParsedCommand *r, IpcCommand *out_c, u32
|
|||
rc = get_nso_info(((u64 *)in_rawdata)[0], r->Statics[0], r->StaticSizes[0], out_rawdata);
|
||||
|
||||
if (R_SUCCEEDED(rc)) {
|
||||
*out_raw_data_count = 4;
|
||||
*out_raw_data_count = 1;
|
||||
} else {
|
||||
*out_raw_data_count = 0;
|
||||
}
|
||||
|
|
|
@ -24,7 +24,7 @@ Result ProcessManagerService::dispatch(IpcParsedCommand *r, IpcCommand *out_c, u
|
|||
rc = register_title((Registration::TidSid *)in_rawdata, &out_index);
|
||||
if (R_SUCCEEDED(rc)) {
|
||||
((u64 *)out_rawdata)[0] = out_index;
|
||||
*out_raw_data_count = 8;
|
||||
*out_raw_data_count = 2;
|
||||
} else {
|
||||
((u64 *)out_rawdata)[0] = 0;
|
||||
*out_raw_data_count = 0;
|
||||
|
|
|
@ -138,7 +138,7 @@ class ServiceSession : public IWaitable {
|
|||
u64 retval;
|
||||
} *raw;
|
||||
|
||||
raw = (decltype(raw))ipcPrepareHeader(&c, out_words);
|
||||
raw = (decltype(raw))ipcPrepareHeader(&c, out_words * 4);
|
||||
|
||||
raw->magic = SFCO_MAGIC;
|
||||
raw->retval = retval;
|
||||
|
|
Loading…
Reference in a new issue