Pih006 Sub Patched
- int64_t pts = (int)raw_pts * timebase->num / timebase->den;
+ int64_t pts = (int64_t)raw_pts * (int64_t)timebase->num / (int64_t)timebase->den;
+ if (pts > INT64_MAX/2) pts = INT64_MAX;
+ if (pts < INT64_MIN/2) pts = INT64_MIN;
If you want, I can: provide the full patch diff, generate a PR description, or create regression test cases. Which would you like next?
However, "sub patched" is not a standard public term. It might be: pih006 sub patched
To understand "sub patched," you first need to understand the PIH006 classification. Nintendo does not publicly advertise motherboard revisions to consumers. Instead, these identifiers are printed directly on the Switch’s main PCB (Printed Circuit Board) and are used internally for manufacturing and hardware revisions. - int64_t pts = (int)raw_pts * timebase->num /
The PIH006 is a specific motherboard revision found primarily in the Nintendo Switch (Standard Model) — not the Lite, not the OLED. It sits chronologically between the earlier unpatched units (PIH001) and the fully patched Erista units, leading up to the Mariko motherboard (which introduced the improved CPU). If you want, I can: provide the full
Key characteristics of PIH006 motherboards:
Knowing you are working on a PIH006 sub patched board is useful for:
If your serial shows as "Potentially patched – not 100% sure," you may have a PIH006.