mirror of
https://github.com/boykopovar/AnyPS5.git
synced 2026-10-31 12:35:51 +00:00
clockMillis converted the presentation clock, a double, to uint64 without checking its range. A jump to 0xFFFFFFFFFFFFFFFF stores 2^64 in the clock, and the conversion of that value is undefined. On x86-64 GCC it yields 0, so sceAvPlayerCurrentTime reported 0 instead of the stream duration it clamps every other time to. The clock now saturates at the largest uint64 before the conversion, and the duration clamp applies as before. AI-assisted: yes