mirror of
https://github.com/gbdev/rgbds.git
synced 2025-11-20 18:22:07 +00:00
Add more test coverage for RGBASM (#1256)
This also fixes two bugs: `-1 >>> 32` was -1 not 0, and `macro_FreeArgs` should have been called but wasn't.
This commit is contained in:
@@ -677,18 +677,6 @@ void sect_Skip(uint32_t skip, bool ds)
|
||||
}
|
||||
}
|
||||
|
||||
// Output a NULL terminated string (excluding the NULL-character)
|
||||
void sect_String(char const *s)
|
||||
{
|
||||
if (!checkcodesection())
|
||||
return;
|
||||
if (!reserveSpace(strlen(s)))
|
||||
return;
|
||||
|
||||
while (*s)
|
||||
writebyte(*s++);
|
||||
}
|
||||
|
||||
// Output a relocatable byte. Checking will be done to see if it
|
||||
// is an absolute value in disguise.
|
||||
void sect_RelByte(struct Expression *expr, uint32_t pcShift)
|
||||
|
||||
Reference in New Issue
Block a user