mirror of
https://github.com/gbdev/rgbds.git
synced 2025-11-24 03:52:08 +00:00
Improve error messages
NULL error messages have been given a description. Messages that weren't descriptive enough now also print the name of the function that has failed. Signed-off-by: Antonio Niño Díaz <antonio_nd@outlook.com>
This commit is contained in:
@@ -200,7 +200,7 @@ static uint32_t getsectid(struct Section *pSect)
|
||||
sec = sec->pNext;
|
||||
}
|
||||
|
||||
fatalerror("INTERNAL: Unknown section");
|
||||
fatalerror("%s: Unknown section", __func__);
|
||||
return (uint32_t)(-1);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user