mirror of
https://github.com/gbdev/rgbds.git
synced 2025-11-20 18:22:07 +00:00
Remove LOAD FRAGMENT
It's very troublesome, with flaky semantics and a very restricted use space.
This commit is contained in:
@@ -427,6 +427,11 @@ void out_SetLoadSection(char const *name, uint32_t type, uint32_t org,
|
||||
return;
|
||||
}
|
||||
|
||||
if (mod == SECTION_FRAGMENT) {
|
||||
error("`LOAD FRAGMENT` is not allowed\n");
|
||||
return;
|
||||
}
|
||||
|
||||
struct Section *sect = getSection(name, type, org, attribs, mod);
|
||||
|
||||
changeSection();
|
||||
|
||||
Reference in New Issue
Block a user