mirror of
https://github.com/Pharaoh2k/ps5debug-NG.git
synced 2026-10-22 03:42:51 -05:00
The struct proc name/path/titleid/contentid offsets were hardcoded to the 4.x layout with no firmware gating, so on 6.x and newer they read empty or garbage: PROC_INFO/PROC_LIST returned blank names and the installer failed with "SceShellCore not found" on 6.x. Restore the original's per-firmware selection (three offset sets across FW 3.x-8.x) behind a shared proc_get_field_offsets() helper that switches on kernel_get_fw_version(); unsupported firmwares report unknown rather than emitting wrong offsets. Wired into find_pid, proc_info_handle/proc_list, and console_foreground_app_handle.