LttP/SMZ3: some more file ending fixes (#393)

This commit is contained in:
Fabian Dill
2022-04-03 19:42:18 +02:00
committed by GitHub
parent ba3257f850
commit fb2e780c56
3 changed files with 3 additions and 3 deletions

View File

@@ -130,7 +130,7 @@ def adjust(args):
logger = logging.getLogger('Adjuster')
logger.info('Patching ROM.')
vanillaRom = args.baserom
if os.path.splitext(args.rom)[-1].lower() == '.apbp':
if os.path.splitext(args.rom)[-1].lower() in {'.apbp', '.aplttp'}:
import Patch
meta, args.rom = Patch.create_rom_file(args.rom)