mirror of
https://github.com/captain-amygdala/pistorm.git
synced 2026-04-15 16:09:58 +00:00
Fix RTG panning
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user