mirror of
https://github.com/switchbrew/libnx.git
synced 2025-06-21 12:32:40 +02:00
Fixed ipc output/etc for ncmContentStorageListPlaceHolder, nsvmGetSafeSystemVersion, and nsdevPrepareLaunchProgramFromHost (caused by new-ipc changes).
This commit is contained in:
parent
2e56959916
commit
127408a1f7
@ -185,7 +185,7 @@ Result ncmContentStorageCleanupAllPlaceHolder(NcmContentStorage* cs) {
|
||||
}
|
||||
|
||||
Result ncmContentStorageListPlaceHolder(NcmContentStorage* cs, NcmNcaId* out_ids, size_t out_ids_size, u32* out_count) {
|
||||
return serviceDispatchOut(&cs->s, 11, out_count, *out_count,
|
||||
return serviceDispatchOut(&cs->s, 11, *out_count,
|
||||
.buffer_attrs = { SfBufferAttr_HipcMapAlias | SfBufferAttr_Out },
|
||||
.buffers = { { out_ids, out_ids_size } },
|
||||
);
|
||||
|
@ -253,7 +253,7 @@ Result nsvmGetSafeSystemVersion(NcmContentMetaKey *out) {
|
||||
if (hosversionBefore(4,0,0))
|
||||
return MAKERESULT(Module_Libnx, LibnxError_IncompatSysVer);
|
||||
|
||||
return serviceDispatchOut(&g_nsvmSrv, 1202, out);
|
||||
return serviceDispatchOut(&g_nsvmSrv, 1202, *out);
|
||||
}
|
||||
|
||||
// ns:dev
|
||||
@ -312,7 +312,7 @@ Result nsdevTerminateApplication(void) {
|
||||
}
|
||||
|
||||
Result nsdevPrepareLaunchProgramFromHost(NsLaunchProperties* out, const char* path, size_t path_len) {
|
||||
return serviceDispatchOut(&g_nsdevSrv, 7, out,
|
||||
return serviceDispatchOut(&g_nsdevSrv, 7, *out,
|
||||
.buffer_attrs = { SfBufferAttr_HipcMapAlias | SfBufferAttr_In },
|
||||
.buffers = { { path, path_len } },
|
||||
);
|
||||
|
Loading…
Reference in New Issue
Block a user