impr: Added more generic way to unlock frame rate when needed

This commit is contained in:
WerWolv
2025-07-27 16:25:10 +02:00
parent c7b2f26bd5
commit f42ae97f14
6 changed files with 28 additions and 2 deletions

View File

@@ -454,6 +454,9 @@ EXPORT_MODULE namespace hex {
void cleanup();
bool frameRateUnlockRequested();
void resetFrameRateUnlockRequested();
}
/**
@@ -720,6 +723,10 @@ EXPORT_MODULE namespace hex {
*/
void addMigrationRoutine(SemanticVersion migrationVersion, std::function<void()> function);
/**
* @brief Unlocks the frame rate temporarily, allowing animations to run smoothly
*/
void unlockFrameRate();
}
/**