HostDisplay: Move Windows fallback for refresh rate query to HostInterface

This commit is contained in:
Connor McLaughlin
2021-01-11 15:11:57 +10:00
parent fd166a4485
commit 13cba122ef
3 changed files with 48 additions and 38 deletions

View File

@ -119,6 +119,10 @@ public:
virtual TinyString TranslateString(const char* context, const char* str) const;
virtual std::string TranslateStdString(const char* context, const char* str) const;
/// Returns the refresh rate for the "main" display. Use when it's not possible to query the graphics API for the
/// refresh rate of the monitor the window is running in.
virtual bool GetMainDisplayRefreshRate(float* refresh_rate);
/// Returns the path to the directory to search for BIOS images.
virtual std::string GetBIOSDirectory();