mirror of
https://github.com/jkdansereau/goldeneye-pc-port.git
synced 2026-10-23 15:52:42 +02:00
- D31 (resolved): replace GE's gzip-1.2.4 inflate with real-zlib decompressdata() in port/src/rzdecomp.c; exclude src/game/decompress.c + zlib.c from the PC build. Root cause: struct huft is 8B on MIPS but 16B on x86-64, overflowing load_resource's fixed 0x2100 buffer and clobbering its frame/retaddr on the first file load. mainThread now boots past all language files into bossInitMainthreadData(). - D32 (in progress): ROM-serialized structs with 32-bit pointer fields misalign when read as 64-bit pointers. Part A done: ModelAnimation's bitDescriptors/bitStream are now u32 (N64 layout preserved) with casts at the two use sites in model.c. Part B (load-time rebase in expand_ani_table_entries) is open — see docs §F/D32 + §H. - Docs: D31 resolved, D32 recorded (A done / B open), Phase 1.5 added, new §H handoff section. AGENTS.md: refined non-negotiable #2 to "game logic is unmodified" with a narrow ABI/layout exception; refreshed phase status.