svc: Make ResetType an enum class

This commit is contained in:
Lioncash
2016-03-12 15:06:31 -05:00
parent 2f0a61debf
commit 12e92f17de
11 changed files with 23 additions and 24 deletions

View File

@ -434,8 +434,8 @@ void Init() {
cpu_percent = 0;
// TODO(bunnei): Check if these are created in Initialize or on APT process startup.
notification_event = Kernel::Event::Create(RESETTYPE_ONESHOT, "APT_U:Notification");
parameter_event = Kernel::Event::Create(RESETTYPE_ONESHOT, "APT_U:Start");
notification_event = Kernel::Event::Create(ResetType::OneShot, "APT_U:Notification");
parameter_event = Kernel::Event::Create(ResetType::OneShot, "APT_U:Start");
next_parameter.signal = static_cast<u32>(SignalType::AppJustStarted);
next_parameter.destination_id = 0x300;