Skip to content

Commit

Permalink
Added commented publish_waiting_gamestate
Browse files Browse the repository at this point in the history
  • Loading branch information
twist84 committed Sep 14, 2024
1 parent 970c51b commit abf0966
Showing 1 changed file with 15 additions and 0 deletions.
15 changes: 15 additions & 0 deletions game/source/main/main.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1880,6 +1880,21 @@ void __cdecl process_published_game_state(bool a1)
void __cdecl publish_waiting_gamestate()
{
INVOKE(0x005074D0, publish_waiting_gamestate);

//TLS_DATA_GET_VALUE_REFERENCE(g_main_gamestate_timing_data);
//if (render_thread_enabled())
//{
// TEST_MASK(g_main_gamestate_timing_data->flags.get_unsafe(), MASK(k_game_tick_publishing_flags));
// {
// main_time_mark_publishing_start_time();
// if (restricted_region_publish_to_mirror(k_game_state_shared_region))
// {
// g_main_gamestate_timing_data->reset();
// main_render_purge_pending_messages();
// main_time_mark_publishing_end_time();
// }
// }
//}
}

bool __cdecl render_thread_enabled()
Expand Down

0 comments on commit abf0966

Please sign in to comment.