Achievements: Remove unused NeedsIdleUpdate()
This commit is contained in:
parent
2f5bdc9651
commit
31c1cfa650
|
@ -828,15 +828,6 @@ void Achievements::IdleUpdate()
|
||||||
rc_client_idle(s_state.client);
|
rc_client_idle(s_state.client);
|
||||||
}
|
}
|
||||||
|
|
||||||
bool Achievements::NeedsIdleUpdate()
|
|
||||||
{
|
|
||||||
if (!IsActive())
|
|
||||||
return false;
|
|
||||||
|
|
||||||
const auto lock = GetLock();
|
|
||||||
return (s_state.http_downloader && s_state.http_downloader->HasAnyRequests());
|
|
||||||
}
|
|
||||||
|
|
||||||
void Achievements::FrameUpdate()
|
void Achievements::FrameUpdate()
|
||||||
{
|
{
|
||||||
if (!IsActive())
|
if (!IsActive())
|
||||||
|
|
|
@ -58,9 +58,6 @@ void FrameUpdate();
|
||||||
/// Called when the system is paused, because FrameUpdate() won't be getting called.
|
/// Called when the system is paused, because FrameUpdate() won't be getting called.
|
||||||
void IdleUpdate();
|
void IdleUpdate();
|
||||||
|
|
||||||
/// Returns true if idle updates are necessary (e.g. outstanding requests).
|
|
||||||
bool NeedsIdleUpdate();
|
|
||||||
|
|
||||||
/// Saves/loads state.
|
/// Saves/loads state.
|
||||||
bool DoState(StateWrapper& sw);
|
bool DoState(StateWrapper& sw);
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue