aboutsummaryrefslogtreecommitdiff
path: root/src/core/hle/service/pm/pm.cpp
diff options
context:
space:
mode:
authorLioncash <mathew1800@gmail.com>2019-01-28 11:44:35 -0500
committerLioncash <mathew1800@gmail.com>2019-01-28 11:44:37 -0500
commitcb2ce9924a6ac65cebc0ebe1014cf6eb459506e5 (patch)
treebd6fcb47060f5ceb241108be3593f0ee12070446 /src/core/hle/service/pm/pm.cpp
parent72c48e01c97f7f94c63176838525909731d1aa9a (diff)
service/pm: Tidy up functionality related to SystemBootMode
Just minor tidying of interfaces.
Diffstat (limited to 'src/core/hle/service/pm/pm.cpp')
-rw-r--r--src/core/hle/service/pm/pm.cpp4
1 files changed, 3 insertions, 1 deletions
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<u32>(static_cast<u32>(SystemBootMode::Normal)); // Normal boot mode
+ rb.PushEnum(boot_mode);
}
+
+ SystemBootMode boot_mode = SystemBootMode::Normal;
};
class DebugMonitor final : public ServiceFramework<DebugMonitor> {