mirror of
https://github.com/MaSzyna-EU07/maszyna.git
synced 2026-07-18 18:09:18 +02:00
Tune EU7 PACK streaming for fast camera flight and reduce frame hitches
This commit is contained in:
@@ -404,8 +404,6 @@ bool driver_mode::update()
|
||||
|
||||
Timer::subsystem.sim_total.stop();
|
||||
|
||||
simulation::State.drain_deferred_eu7_trainsets( 12.0 );
|
||||
|
||||
if( scene::eu7::section_stream_active() ) {
|
||||
if( scene::eu7::section_stream_needs_bootstrap() ) {
|
||||
scene::eu7::kick_section_stream_bootstrap();
|
||||
@@ -424,6 +422,12 @@ bool driver_mode::update()
|
||||
}
|
||||
}
|
||||
|
||||
simulation::State.drain_deferred_eu7_trainsets(
|
||||
scene::eu7::section_stream_active()
|
||||
&& scene::eu7::section_stream_frame_budget_pressure() ?
|
||||
4.0 :
|
||||
10.0 );
|
||||
|
||||
simulation::Region->update_sounds();
|
||||
audio::renderer.update(Global.iPause ? 0.0 : deltarealtime);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user