mirror of
https://github.com/hrydgard/ppsspp.git
synced 2026-10-01 14:58:14 +00:00
Fixes cases where EBOOTs have more than 32 program headers. That limit came from segmentVAddr being a 32-entry array indexed by program header number Changes the table to a vector, and holds SEGMENT_NOT_LOADED for headers that aren't PT_LOAD, so a relocation naming one is rejected and logged rather than quietly relocating against zero. GetSegmentVaddr() still answers 0 for those, as it did when the table was a zero-initialized array.