Improve Restart function

Don't erase boot args
Should now work correctly with game launchers
This commit is contained in:
Nekotekina 2018-01-03 00:45:52 +03:00
parent 7050575fdb
commit af3e1fc580
4 changed files with 14 additions and 7 deletions

View file

@ -262,7 +262,8 @@ public:
void Run();
bool Pause();
void Resume();
void Stop();
void Stop(bool restart = false);
void Restart() { Stop(true); }
bool IsRunning() const { return m_state == system_state::running; }
bool IsPaused() const { return m_state == system_state::paused; }