From d02294505c965910d5b066b4e8cfac2ca7359671 Mon Sep 17 00:00:00 2001 From: "Anthony J. Bentley" Date: Sun, 22 Feb 2015 03:55:51 -0700 Subject: [PATCH] Avoid use of magic numbers. MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit From Antonio Niño Díaz. --- src/link/output.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/link/output.c b/src/link/output.c index 7adfc8f1..95feb6de 100644 --- a/src/link/output.c +++ b/src/link/output.c @@ -86,7 +86,7 @@ Output(void) fclose(f); } - for (i = 256; i < MAXBANKS; i += 1) { + for (i = BANK_WRAM0; i < MAXBANKS; i++) { struct sSection *pSect; MapfileInitBank(i); pSect = pSections;