// SPDX-License-Identifier: MIT #ifndef RGBDS_LINK_MAIN_HPP #define RGBDS_LINK_MAIN_HPP #include #include #include struct Options { bool isDmgMode; // -d std::optional mapFileName; // -m bool noSymInMap; // -M std::optional symFileName; // -n std::optional overlayFileName; // -O std::optional outputFileName; // -o uint8_t padValue; // -p bool hasPadValue = false; // Setting these three to 0 disables the functionality uint16_t scrambleROMX; // -S uint16_t scrambleWRAMX; uint16_t scrambleSRAM; bool is32kMode; // -t bool isWRAM0Mode; // -w bool disablePadding; // -x }; extern Options options; #endif // RGBDS_LINK_MAIN_HPP