OoT: fix patching deltas when run from another folder
This commit is contained in:
		
							parent
							
								
									fb2e780c56
								
							
						
					
					
						commit
						d1f0a29a02
					
				| 
						 | 
				
			
			@ -226,7 +226,7 @@ async def patch_and_run_game(apz5_file):
 | 
			
		|||
    decomp_path = base_name + '-decomp.z64'
 | 
			
		||||
    comp_path = base_name + '.z64'
 | 
			
		||||
    # Load vanilla ROM, patch file, compress ROM
 | 
			
		||||
    rom = Rom(Utils.get_options()["oot_options"]["rom_file"])
 | 
			
		||||
    rom = Rom(Utils.local_path(Utils.get_options()["oot_options"]["rom_file"]))
 | 
			
		||||
    apply_patch_file(rom, apz5_file)
 | 
			
		||||
    rom.write_to_file(decomp_path)
 | 
			
		||||
    os.chdir(data_path("Compress"))
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
		Reference in New Issue