mirror of
https://github.com/open-goal/jak-project
synced 2026-07-10 07:07:04 -04:00
decomp: Pass of the final remaining gameplay related files (#921)
* blocked: `plant-boss` has `go` returning none issues * blocked: `ice-cube` return value getting forced to none * blocked: `ropebridge` has static data isue * blocked: `double-lurker` handle cast issues * decomp: finish `billy` * decomp: finish `lurkerworm` * blocked: `pelican` handle casts * decomp: finish `citb-bunny` * blocked: inherited states in `snow-bunny` * blocked: CFG resolution in `lavatube-energy` * decomp: finish `citadel-sages` * progress: working through `collectables` * blocked: finished as much as currently possible in `collectables` - process-tree's 10 method pparently has a 3rd arg -- im doubtful - set-to-run function - branch delay unimplemented case - weird method 21 eco-collectable * pre-merge * decomp: update source files / ref tests * decomp: finish `floating-launcher`, `shover`, `steam-cap`, `sun-iris-door`, `whirlpool` * decomp: address feedback * update ref tests and gsrc
This commit is contained in:
@@ -536,8 +536,9 @@ goos::Object decompile_structure(const TypeSpec& type,
|
||||
|
||||
// check enough room
|
||||
if (int(words.at(label.target_segment).size()) < word_count + offset_location / 4) {
|
||||
throw std::runtime_error(fmt::format("Structure type {} takes up {} bytes and doesn't fit.",
|
||||
type_info->get_name(), type_info->get_size_in_memory()));
|
||||
throw std::runtime_error(fmt::format(
|
||||
"Structure type {} takes up {} bytes and doesn't fit. {}:{}", type_info->get_name(),
|
||||
type_info->get_size_in_memory(), label.name, offset_location));
|
||||
}
|
||||
|
||||
// get words for real
|
||||
|
||||
Reference in New Issue
Block a user