From cb2ce9924a6ac65cebc0ebe1014cf6eb459506e5 Mon Sep 17 00:00:00 2001 From: Lioncash Date: Mon, 28 Jan 2019 11:44:35 -0500 Subject: service/pm: Tidy up functionality related to SystemBootMode Just minor tidying of interfaces. --- src/core/hle/service/pm/pm.cpp | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'src/core/hle/service/pm/pm.cpp') diff --git a/src/core/hle/service/pm/pm.cpp b/src/core/hle/service/pm/pm.cpp index 53e7da9c3..40655532c 100644 --- a/src/core/hle/service/pm/pm.cpp +++ b/src/core/hle/service/pm/pm.cpp @@ -24,8 +24,10 @@ private: IPC::ResponseBuilder rb{ctx, 3}; rb.Push(RESULT_SUCCESS); - rb.Push(static_cast(SystemBootMode::Normal)); // Normal boot mode + rb.PushEnum(boot_mode); } + + SystemBootMode boot_mode = SystemBootMode::Normal; }; class DebugMonitor final : public ServiceFramework { -- cgit v1.2.3