Bake enemizer base patch and asar symbols into executable.

This commit is contained in:
Lyle Mantooth 2022-06-04 15:29:02 -04:00
parent 8d8faf105a
commit a0150caa56
Signed by: IslandUsurper
GPG key ID: 6DB52EAE123A5789
4 changed files with 41 additions and 53 deletions

View file

@ -36,7 +36,10 @@ fn main() -> Result<(), anyhow::Error> {
rom_bytes.resize(4 * 1024 * 1024, 0);
let symbols = asar::load_symbols(Path::new(&symbols_path))?;
let mut symbols_file = File::open(&symbols_path)?;
let mut symbols_text = String::new();
symbols_file.read_to_string(&mut symbols_text)?;
let symbols = asar::load_symbols(&symbols_text)?;
let mut rom = RomData::new(symbols, rom_bytes);