HostInterface: Move throttle and perf stats to System class

This commit is contained in:
Connor McLaughlin
2020-02-09 22:16:25 +09:00
parent 895cefec60
commit c820ddba79
10 changed files with 180 additions and 182 deletions

View File

@@ -71,7 +71,8 @@ Q_SIGNALS:
void gameListRefreshed();
void toggleFullscreenRequested();
void recreateDisplayWidgetRequested(bool create_device_context);
void performanceCountersUpdated(float speed, float fps, float vps, float avg_frame_time, float worst_frame_time);
void systemPerformanceCountersUpdated(float speed, float fps, float vps, float avg_frame_time,
float worst_frame_time);
void runningGameChanged(QString filename, QString game_code, QString game_title);
public Q_SLOTS:
@@ -90,7 +91,7 @@ private Q_SLOTS:
protected:
void SwitchGPURenderer() override;
void OnPerformanceCountersUpdated() override;
void OnSystemPerformanceCountersUpdated() override;
void OnRunningGameChanged() override;
private: