mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-01-25 07:21:14 +01:00
Movie: Remove global system accessor from GetRTCDisplay()
We can just use m_system instance reference instead.
This commit is contained in:
parent
763562357b
commit
1b3f61041a
@ -165,8 +165,7 @@ std::string MovieManager::GetRTCDisplay() const
|
|||||||
{
|
{
|
||||||
using ExpansionInterface::CEXIIPL;
|
using ExpansionInterface::CEXIIPL;
|
||||||
|
|
||||||
const time_t current_time =
|
const time_t current_time = CEXIIPL::GetEmulatedTime(m_system, CEXIIPL::UNIX_EPOCH);
|
||||||
CEXIIPL::GetEmulatedTime(Core::System::GetInstance(), CEXIIPL::UNIX_EPOCH);
|
|
||||||
const tm gm_time = fmt::gmtime(current_time);
|
const tm gm_time = fmt::gmtime(current_time);
|
||||||
|
|
||||||
// Use current locale for formatting time, as fmt is locale-agnostic by default.
|
// Use current locale for formatting time, as fmt is locale-agnostic by default.
|
||||||
|
Loading…
x
Reference in New Issue
Block a user