ref: da1d9f68c7bd18b1d8838d98b77276a08152bf29
parent: 24f41ef8973a464896db7123019bed96761856ad
author: ISSOtm <eldredhabert0@gmail.com>
date: Mon Feb 3 10:00:28 EST 2020
Remove and reorder bank counts Why was this an enum in the first place, anyways?
--- a/include/linkdefs.h
+++ b/include/linkdefs.h
@@ -15,16 +15,14 @@
#define RGBDS_OBJECT_VERSION_STRING "RGB%1hhu"
#define RGBDS_OBJECT_VERSION_NUMBER (uint8_t)6
-enum eBankCount {
- BANK_COUNT_ROM0 = 1,
- BANK_COUNT_ROMX = 511,
- BANK_COUNT_WRAM0 = 1,
- BANK_COUNT_WRAMX = 7,
- BANK_COUNT_VRAM = 2,
- BANK_COUNT_OAM = 1,
- BANK_COUNT_HRAM = 1,
- BANK_COUNT_SRAM = 16
-};
+#define BANK_COUNT_ROM0 1
+#define BANK_COUNT_ROMX 511
+#define BANK_COUNT_VRAM 2
+#define BANK_COUNT_SRAM 16
+#define BANK_COUNT_WRAM0 1
+#define BANK_COUNT_WRAMX 7
+#define BANK_COUNT_OAM 1
+#define BANK_COUNT_HRAM 1
enum eBankGBCount {
BANK_MIN_ROM0 = 0,