Update runtime for more accurate VI and switch to improved pacing RT64 branch

This commit is contained in:
Mr-Wiseguy
2025-08-10 02:13:05 -04:00
parent 2e82860bdd
commit 00c5fed6bc
6 changed files with 31 additions and 36 deletions
+10
View File
@@ -50,6 +50,7 @@
#ifdef _WIN32
#define WIN32_LEAN_AND_MEAN
#include <Windows.h>
#include <timeapi.h>
#include "SDL_syswm.h"
#endif
@@ -586,6 +587,10 @@ int main(int argc, char** argv) {
}
#ifdef _WIN32
// Set up high resolution timing period.
timeBeginPeriod(1);
// Process arguments.
for (int i = 1; i < argc; i++)
{
if (strcmp(argv[i], "--show-console") == 0)
@@ -745,5 +750,10 @@ int main(int argc, char** argv) {
release_preload(preload_context);
}
#ifdef _WIN32
// End high resolution timing period.
timeEndPeriod(1);
#endif
return EXIT_SUCCESS;
}