Bake enemizer base patch and asar symbols into executable.
This commit is contained in:
parent
8d8faf105a
commit
a0150caa56
4 changed files with 41 additions and 53 deletions
|
@ -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);
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue