Add poll interval to libScePad (#1415)

This commit is contained in:
Vladislav Mikhalin 2024-10-19 15:57:01 +03:00 committed by GitHub
parent 87f8fea4de
commit c38e3f77f9
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
5 changed files with 38 additions and 2 deletions

View file

@ -257,6 +257,7 @@ void Emulator::Run(const std::filesystem::path& file) {
std::jthread mainthread =
std::jthread([this](std::stop_token stop_token) { linker->Execute(); });
window->initTimers();
while (window->isOpen()) {
window->waitEvent();
}