Fix BANK(@) discrepancy within LOAD blocks (#2149)

RGBASM and RGBLINK disagreed on which section to consider `@` to be in;
we have decided that the latter is correct.

The `assume` change is known to be suspicious; for more discussion, see
https://github.com/gbdev/rgbds/pull/2149#discussion_r4106902830
This commit is contained in:
Rangi authored and GitHub committed 2026-09-25 19:18:52 +02:00
1 parent dc701294f8
commit 646cb05faf
6 files changed
+35 -10

No files matched your search

-2
View File
@@ -5,7 +5,6 @@
#include <deque>
#include <memory>
#include <optional>
#include <stddef.h>
#include <stdint.h>
#include <string>
@@ -78,7 +77,6 @@ void sect_CheckLoadClosed();
Section *sect_GetSymbolSection();
uint32_t sect_GetSymbolOffset();
uint32_t sect_GetOutputOffset();
std::optional<uint32_t> sect_GetOutputBank();
Patch *sect_AddOutputPatch();