mirror of
https://github.com/gbdev/rgbds.git
synced 2025-11-20 18:22:07 +00:00
Make some error messages more consistent (#1393)
* Update some error messages * Make non-A destination operand syntactically invalid
This commit is contained in:
@@ -461,7 +461,8 @@ static void applyFilePatches(Section §ion, Section &dataSection) {
|
||||
error(
|
||||
patch.src,
|
||||
patch.lineNo,
|
||||
"jr target out of reach (expected -129 < %" PRId16 " < 128)",
|
||||
"jr target must be between -128 and 127 bytes away, not %" PRId16
|
||||
"; use jp instead\n",
|
||||
jumpOffset
|
||||
);
|
||||
dataSection.data[offset] = jumpOffset & 0xFF;
|
||||
|
||||
Reference in New Issue
Block a user