Qt: Implement Batch flag (-b)

This commit is contained in:
spycrab
2018-04-29 19:13:40 +02:00
parent 1c9b64ff02
commit 2a837a82d4
4 changed files with 14 additions and 1 deletions

View File

@ -70,6 +70,8 @@ public:
// Emulation
int GetStateSlot() const;
void SetStateSlot(int);
bool IsBatchModeEnabled() const;
void SetBatchModeEnabled(bool batch);
// Graphics
void SetHideCursor(bool hide_cursor);
@ -147,6 +149,7 @@ signals:
void AnalyticsToggled(bool enabled);
private:
bool m_batch = false;
bool m_controller_state_needed = false;
std::unique_ptr<NetPlayClient> m_client;
std::unique_ptr<NetPlayServer> m_server;