Fix RTG panning

This commit is contained in:
beeanyew
2021-01-09 22:07:00 +01:00
parent c7df5946af
commit fa74ee0032

View File

@@ -180,6 +180,7 @@ reinit_sdl:;
}
frame_end = SDL_GetPerformanceCounter();
elapsed = (frame_end - frame_start) / (float)SDL_GetPerformanceFrequency() * 1000.0f;
pitch = rtg_pitch;
SDL_Delay(floor(16.66666f - elapsed));
}
else