mirror of
https://github.com/jkdansereau/goldeneye-pc-port.git
synced 2026-10-24 00:02:45 +02:00
Serves the offline-converted sidecars from tools_pc/d69_emit.py, cloned from port/src/pcmodels.c (D50 Plan-B pattern): pccgReserveSize/ pccgLoadSidecars/pccgPatchTable/pccgTotalSize/pccgSidecarBase. Wiring: romdata.c extends the CART_BASE VirtualAlloc reservation to include pccgReserveSize() right after the pcmodels extension and loads the sidecar image there; romdataCartAddrValid's bounds check and libultra.c's D60 DMA-source diagnostic both extended to cover the pccg byte range. One-shot pccgPatchTable() call added next to pcmodelsPatchTable() in load_object_fill_header (objecthandler_2.c) -- reused purely as a "definitely after obInit()" hook, unrelated to model loading. Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01C3xib6jjMV8o2iE4JfixAo