* Play Time

* SDL

* QT

* Sort / Formatting

* Timer 1 minute

* remove the seconds

removes the seconds from the screen, but in the play_time.txt file it continues to record the seconds for better accuracy, and the screen is cleaner

* fixes the invisible 0

* SDL . . .

* Fix Timer
This commit is contained in:
DanielSvoboda 2024-10-09 07:30:51 -03:00 committed by GitHub
parent 6fe26173dc
commit d4eae28ce2
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
34 changed files with 303 additions and 7 deletions

View file

@ -26,6 +26,7 @@ public:
~Emulator();
void Run(const std::filesystem::path& file);
void UpdatePlayTime(const std::string& serial);
private:
void LoadSystemModules(const std::filesystem::path& file);
@ -34,6 +35,7 @@ private:
Input::GameController* controller;
Core::Linker* linker;
std::unique_ptr<Frontend::WindowSDL> window;
std::chrono::steady_clock::time_point start_time;
};
} // namespace Core