mirror of
https://github.com/encounter/decomp-toolkit.git
synced 2025-06-21 22:13:40 +00:00
Update Errors (#87)
Co-authored-by: NWPlayer123 <NWPlayer123@users.noreply.github.com>
This commit is contained in:
parent
91aa36c120
commit
8fb56c2fa4
@ -149,7 +149,7 @@ impl FunctionSlices {
|
||||
if check_prologue_sequence(section, addr, Some(ins))? {
|
||||
if let Some(prologue) = self.prologue {
|
||||
if prologue != addr && prologue != addr - 4 {
|
||||
bail!("Found duplicate prologue: {:#010X} and {:#010X}", prologue, addr)
|
||||
bail!("Found multiple functions inside a symbol: {:#010X} and {:#010X}. Check symbols.txt?", prologue, addr)
|
||||
}
|
||||
} else {
|
||||
self.prologue = Some(addr);
|
||||
|
@ -710,7 +710,7 @@ where R: BufRead + ?Sized {
|
||||
ensure!(
|
||||
section.contains_range(start..end)
|
||||
|| (start == section_end && end == section_end),
|
||||
"Section {} ({:#010X}..{:#010X}) does not contain range {:#010X}..{:#010X}",
|
||||
"Section {} ({:#010X}..{:#010X}) does not contain range {:#010X}..{:#010X}. Check splits.txt?",
|
||||
name,
|
||||
section.address,
|
||||
section.address + section.size,
|
||||
|
Loading…
x
Reference in New Issue
Block a user