aboutsummaryrefslogtreecommitdiff
path: root/src/core/hle/shared_page.cpp
diff options
context:
space:
mode:
authorEmmanuel Gil Peyrot <linkmauve@linkmauve.fr>2016-09-18 09:38:01 +0900
committerEmmanuel Gil Peyrot <linkmauve@linkmauve.fr>2016-09-18 09:38:01 +0900
commitdc8479928c5aee4c6ad6fe4f59006fb604cee701 (patch)
tree569a7f13128450bbab973236615587ff00bced5f /src/core/hle/shared_page.cpp
parentfe948af0952d7badacbce62a8e35a3a1421245ba (diff)
Sources: Run clang-format on everything.
Diffstat (limited to 'src/core/hle/shared_page.cpp')
-rw-r--r--src/core/hle/shared_page.cpp7
1 files changed, 4 insertions, 3 deletions
diff --git a/src/core/hle/shared_page.cpp b/src/core/hle/shared_page.cpp
index 4d92729239..453fcf7ece 100644
--- a/src/core/hle/shared_page.cpp
+++ b/src/core/hle/shared_page.cpp
@@ -52,8 +52,8 @@ static u64 GetSystemTime() {
}
static void UpdateTimeCallback(u64 userdata, int cycles_late) {
- DateTime& date_time = shared_page.date_time_counter % 2 ?
- shared_page.date_time_0 : shared_page.date_time_1;
+ DateTime& date_time =
+ shared_page.date_time_counter % 2 ? shared_page.date_time_0 : shared_page.date_time_1;
date_time.date_time = GetSystemTime();
date_time.update_tick = CoreTiming::GetTicks();
@@ -74,7 +74,8 @@ void Init() {
// Some games wait until this value becomes 0x1, before asking running_hw
shared_page.unknown_value = 0x1;
- update_time_event = CoreTiming::RegisterEvent("SharedPage::UpdateTimeCallback", UpdateTimeCallback);
+ update_time_event =
+ CoreTiming::RegisterEvent("SharedPage::UpdateTimeCallback", UpdateTimeCallback);
CoreTiming::ScheduleEvent(0, update_time_event);
}