7#include <unordered_map>
14DEFINE_FLAG(std::string, rom_file,
"",
"The ROM file to load.");
15DEFINE_FLAG(std::string, bps_file,
"",
"The BPS file to apply.");
18DEFINE_FLAG(std::string, modified_file,
"",
"The modified file.");
20DEFINE_FLAG(std::string, bin_file,
"",
"The binary file to export to.");
21DEFINE_FLAG(std::string, address,
"",
"The address to convert.");
22DEFINE_FLAG(std::string, length,
"",
"The length of the data to read.");
24DEFINE_FLAG(std::string, file_size,
"",
"The size of the file to expand to.");
25DEFINE_FLAG(std::string, dest_rom,
"",
"The destination ROM file.");
27int main(
int argc,
char *argv[]) {
void Parse(int argc, char **argv)
#define DEFINE_FLAG(type, name, default_val, help_text)
#define RETURN_IF_EXCEPTION(expression)
FlagRegistry * global_flag_registry()
int main(int argc, char *argv[])