GetARStartTime matching

This commit is contained in:
Dethrace Labs 2025-12-17 22:06:28 -08:00
parent cfe23eb7a9
commit 499a682e5c
1 changed files with 5 additions and 3 deletions

View File

@ -2419,10 +2419,12 @@ tU32 GetARStartTime(void) {
tU8* temp_ptr;
temp_ptr = gPipe_buffer_oldest;
do {
while (1) {
if (MoveSessionPointerForwardOne(&temp_ptr)) {
return 0;
}
} while (((tPipe_session*)temp_ptr)->chunk_type != ePipe_chunk_frame_boundary);
return ((tPipe_session*)temp_ptr)->chunks.chunk_data.frame_boundary_data.time;
if (((tPipe_session*)temp_ptr)->chunk_type == ePipe_chunk_frame_boundary) {
return ((tPipe_session*)temp_ptr)->chunks.chunk_data.frame_boundary_data.time;
}
}
}