ApplyFrameBoundary matching

This commit is contained in:
Dethrace Labs 2025-11-29 08:07:10 +13:00 committed by Dethrace Engineering Department
parent e76f3df5c1
commit 3792ccef4d
2 changed files with 4 additions and 2 deletions

View File

@ -191,6 +191,7 @@ br_font* gHeadup_font;
// GLOBAL: CARM95 0x005454b8
tU32 gRace_finished;
// GLOBAL: CARM95 0x0054B244
tU32 gFrame_start_time;
// GLOBAL: CARM95 0x00546930

View File

@ -1455,8 +1455,9 @@ void ApplyOilSpill(tPipe_chunk** pChunk, tU32 pStop_time) {
void ApplyFrameBoundary(tPipe_chunk** pChunk) {
tU32 result;
gLast_replay_frame_time = (*pChunk)->chunk_data.frame_boundary_data.time;
// DAT_0054b244 = PDGetTotalTime();
result = (*pChunk)->chunk_data.frame_boundary_data.time;
gLast_replay_frame_time = result;
gFrame_start_time = PDGetTotalTime();
AdvanceChunkPtr(pChunk, ePipe_chunk_frame_boundary);
}