1 sec cooldown for reduced fps mode

This commit is contained in:
2024-01-07 22:20:40 +01:00
parent da0f59a3f5
commit be8ceb861c
2 changed files with 13 additions and 2 deletions

View File

@ -66,6 +66,7 @@ struct MainScreen final : public Screen {
bool _window_hidden {false};
bool _window_hidden_ts {0};
float _time_since_event {0.f};
MainScreen(SDL_Renderer* renderer_, std::string save_path, std::string save_password, std::vector<std::string> plugins);
~MainScreen(void);