forked from Ports/goldeneye-pc-port
c43a4599cf9f885924dbcc52b07537907812fd76
init_path_table_links: validationGroupCursors[-3] is a decomp artifact (constant negative index into a 1-element stack array). GCC proves it out of bounds and compiles it to a trap -- SIGILL on PC. Point the name 3 elements into a real 4-element backing buffer under PORT so the identical [-3] expressions land in bounds; N64 build keeps the plain array and is unchanged. sub_GAME_7F0B0914 (walkTilesBetweenPoints): callers such as domakedefaultobj pass &pad->stan, which is legitimately NULL when a pad's stan name did not resolve. On N64 the walk then reads ~0 for pointCount and returns TRUE via the crossings==0 early-out; on PC the near-NULL read segfaults. Guard *tileStack == NULL -> return TRUE.
Goldeneye 007
About this repository
This is a WIP decompilation of Goldeneye 007!
It builds the following ROMs:
- ge007.u.z64
sha1: abe01e4aeb033b6c0836819f549c791b26cfde83 - ge007.j.z64
sha1: 2a5dade32f7fad6c73c659d2026994632c1b3174 - ge007.e.z64
sha1: 167c3c433dec1f1eb921736f7d53fac8cb45ee31
Note: This repository does not include all assets necessary for compiling the ROMs. A prior copy of the game is required to extract the assets.
Documentation
- Setup Guide: useful information about installing the necessary dependencies and how to use it
- Structure Guide: learn more about the project structure of this repository
- Style Guide: code style conventions if you want to contribute code
Languages
C
92.9%
C++
2.8%
Python
1.8%
Assembly
1.2%
HTML
0.4%
Other
0.7%