sys_game_watchdog minor fixups

This commit is contained in:
Eladash 2022-10-17 21:40:44 +03:00 committed by Megamouse
parent 035d410a89
commit 7ea0a6d642
2 changed files with 107 additions and 35 deletions

View file

@ -314,7 +314,7 @@ public:
bool IsStopped() const { return m_state == system_state::stopped; }
bool IsReady() const { return m_state == system_state::ready; }
bool IsStarting() const { return m_state == system_state::starting; }
auto GetStatus() const { system_state state = m_state; return state == system_state::frozen ? system_state::paused : state; }
auto GetStatus(bool fixup = true) const { system_state state = m_state; return fixup && state == system_state::frozen ? system_state::paused : state; }
bool HasGui() const { return m_has_gui; }
void SetHasGui(bool has_gui) { m_has_gui = has_gui; }