svc: Make ResetType an enum class

This commit is contained in:
Lioncash 2016-03-12 15:06:31 -05:00
parent 5858a3a148
commit 219ecd2ee7
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;