Allow padding to coexist with overlay file (#1395)

This commit is contained in:
Sylvie
2024-05-17 05:14:44 -04:00
committed by GitHub
parent e2633d5b66
commit 352551d4f8
14 changed files with 55 additions and 23 deletions

View File

@@ -32,6 +32,7 @@ char const *symFileName; // -n
char const *overlayFileName; // -O
char const *outputFileName; // -o
uint8_t padValue; // -p
bool hasPadValue = false;
// Setting these three to 0 disables the functionality
uint16_t scrambleROMX = 0; // -S
uint8_t scrambleWRAMX = 0;
@@ -387,6 +388,7 @@ int main(int argc, char *argv[]) {
value = 0xFF;
}
padValue = value;
hasPadValue = true;
break;
}
case 'S':