HostInterface: Move setting update logic to base class
This commit is contained in:
@ -4,6 +4,7 @@
|
||||
#include "types.h"
|
||||
#include <chrono>
|
||||
#include <deque>
|
||||
#include <functional>
|
||||
#include <memory>
|
||||
#include <mutex>
|
||||
#include <optional>
|
||||
@ -85,6 +86,7 @@ protected:
|
||||
float duration;
|
||||
};
|
||||
|
||||
virtual void SwitchGPURenderer();
|
||||
virtual void OnPerformanceCountersUpdated();
|
||||
virtual void OnRunningGameChanged();
|
||||
|
||||
@ -102,6 +104,8 @@ protected:
|
||||
/// Returns the path of the game database cache file.
|
||||
std::string GetGameListDatabaseFileName() const;
|
||||
|
||||
void UpdateSettings(const std::function<void()>& apply_callback);
|
||||
|
||||
void RunFrame();
|
||||
|
||||
/// Throttles the system, i.e. sleeps until it's time to execute the next frame.
|
||||
|
||||
Reference in New Issue
Block a user