diff options
author | Lioncash <mathew1800@gmail.com> | 2016-03-13 03:47:41 +0100 |
---|---|---|
committer | Lioncash <mathew1800@gmail.com> | 2016-03-13 03:47:41 +0100 |
commit | 856a1d0386099f6311e4fb9cca345142fc22330a (patch) | |
tree | 5c06aa00ad880a09ff1c227e0ed5da0901d3ef63 /src/core/hle/svc.cpp | |
parent | svc: Remove unused ArbitrationType enum (diff) | |
download | yuzu-856a1d0386099f6311e4fb9cca345142fc22330a.tar yuzu-856a1d0386099f6311e4fb9cca345142fc22330a.tar.gz yuzu-856a1d0386099f6311e4fb9cca345142fc22330a.tar.bz2 yuzu-856a1d0386099f6311e4fb9cca345142fc22330a.tar.lz yuzu-856a1d0386099f6311e4fb9cca345142fc22330a.tar.xz yuzu-856a1d0386099f6311e4fb9cca345142fc22330a.tar.zst yuzu-856a1d0386099f6311e4fb9cca345142fc22330a.zip |
Diffstat (limited to '')
-rw-r--r-- | src/core/hle/svc.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/core/hle/svc.cpp b/src/core/hle/svc.cpp index 7a39b101d..ae54afb1c 100644 --- a/src/core/hle/svc.cpp +++ b/src/core/hle/svc.cpp @@ -661,7 +661,7 @@ static ResultCode QueryMemory(MemoryInfo* memory_info, PageInfo* page_info, u32 static ResultCode CreateEvent(Handle* out_handle, u32 reset_type) { using Kernel::Event; - SharedPtr<Event> evt = Kernel::Event::Create(static_cast<ResetType>(reset_type)); + SharedPtr<Event> evt = Event::Create(static_cast<Kernel::ResetType>(reset_type)); CASCADE_RESULT(*out_handle, Kernel::g_handle_table.Create(std::move(evt))); LOG_TRACE(Kernel_SVC, "called reset_type=0x%08X : created handle=0x%08X", @@ -707,7 +707,7 @@ static ResultCode ClearEvent(Handle handle) { static ResultCode CreateTimer(Handle* out_handle, u32 reset_type) { using Kernel::Timer; - SharedPtr<Timer> timer = Timer::Create(static_cast<ResetType>(reset_type)); + SharedPtr<Timer> timer = Timer::Create(static_cast<Kernel::ResetType>(reset_type)); CASCADE_RESULT(*out_handle, Kernel::g_handle_table.Create(std::move(timer))); LOG_TRACE(Kernel_SVC, "called reset_type=0x%08X : created handle=0x%08X", |