diff --git a/libstratosphere/source/ams/ams_bpc.c b/libstratosphere/source/ams/ams_bpc.c index 8a3ddee4..1a749dc0 100644 --- a/libstratosphere/source/ams/ams_bpc.c +++ b/libstratosphere/source/ams/ams_bpc.c @@ -51,7 +51,7 @@ Result amsBpcRebootToFatalError(void *ctx) { } -Result amsBpcSetInitialPayload(const void *src, size_t src_size) { +Result amsBpcSetRebootPayload(const void *src, size_t src_size) { return serviceDispatch(&g_amsBpcSrv, 65001, .buffer_attrs = { SfBufferAttr_In | SfBufferAttr_HipcMapAlias }, .buffers = { { src, src_size } }, diff --git a/libstratosphere/source/ams/ams_bpc.h b/libstratosphere/source/ams/ams_bpc.h index d8a3a9ed..93da6309 100644 --- a/libstratosphere/source/ams/ams_bpc.h +++ b/libstratosphere/source/ams/ams_bpc.h @@ -28,7 +28,7 @@ void amsBpcExit(void); Service *amsBpcGetServiceSession(void); Result amsBpcRebootToFatalError(void *ctx); -Result amsBpcSetInitialPayload(const void *src, size_t src_size); +Result amsBpcSetRebootPayload(const void *src, size_t src_size); #ifdef __cplusplus } diff --git a/libstratosphere/source/ams/ams_environment.cpp b/libstratosphere/source/ams/ams_environment.cpp index f4bc0419..47babfb9 100644 --- a/libstratosphere/source/ams/ams_environment.cpp +++ b/libstratosphere/source/ams/ams_environment.cpp @@ -41,7 +41,7 @@ namespace ams { } void SetInitialRebootPayload(const void *src, size_t src_size) { - R_ABORT_UNLESS(amsBpcSetInitialPayload(src, src_size)); + R_ABORT_UNLESS(amsBpcSetRebootPayload(src, src_size)); } void WEAK_SYMBOL ExceptionHandler(FatalErrorContext *ctx) {