diff options
| author | Lioncash <mathew1800@gmail.com> | 2018-04-30 03:24:27 -0400 |
|---|---|---|
| committer | Lioncash <mathew1800@gmail.com> | 2018-04-30 03:32:59 -0400 |
| commit | 38732117387e62890ce1e0e2ff7e67af9b26bd99 (patch) | |
| tree | ed7367dd74a937809d9501b2d848e8e981b538ba /src/core/hle/shared_page.cpp | |
| parent | 2c2d114a15b7e2a4fb8d1ec91dd9b4b157da6732 (diff) | |
core_timing: Namespace all functions and constants in core_timing's header
All of these variables and functions are related to timings and should be within the namespace.
Diffstat (limited to 'src/core/hle/shared_page.cpp')
| -rw-r--r-- | src/core/hle/shared_page.cpp | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/src/core/hle/shared_page.cpp b/src/core/hle/shared_page.cpp index bba4a07151..9ed8ab2490 100644 --- a/src/core/hle/shared_page.cpp +++ b/src/core/hle/shared_page.cpp @@ -56,13 +56,14 @@ static void UpdateTimeCallback(u64 userdata, int cycles_late) { date_time.date_time = GetSystemTime(); date_time.update_tick = CoreTiming::GetTicks(); - date_time.tick_to_second_coefficient = BASE_CLOCK_RATE; + date_time.tick_to_second_coefficient = CoreTiming::BASE_CLOCK_RATE; date_time.tick_offset = 0; ++shared_page.date_time_counter; // system time is updated hourly - CoreTiming::ScheduleEvent(msToCycles(60 * 60 * 1000) - cycles_late, update_time_event); + CoreTiming::ScheduleEvent(CoreTiming::msToCycles(60 * 60 * 1000) - cycles_late, + update_time_event); } void Init() { |
