System: Only update played time when game list is loaded

This commit is contained in:
Stenzek
2023-09-30 21:42:15 +10:00
parent 15b29b4caa
commit 8f267c87c0
2 changed files with 4 additions and 4 deletions

View File

@ -4661,7 +4661,7 @@ void System::SetTimerResolutionIncreased(bool enabled)
void System::UpdateSessionTime(const std::string& prev_serial)
{
const u64 ctime = Common::Timer::GetCurrentValue();
if (!prev_serial.empty())
if (!prev_serial.empty() && GameList::IsGameListLoaded())
{
// round up to seconds
const std::time_t etime =