diff --git a/tools/splat/.gitrepo b/tools/splat/.gitrepo index 1911e298bb..eb69d5b960 100644 --- a/tools/splat/.gitrepo +++ b/tools/splat/.gitrepo @@ -6,7 +6,7 @@ [subrepo] remote = https://github.com/ethteck/splat.git branch = master - commit = 3a66565988438d58d8c53449254a49f31ff2817c - parent = e578b7d90ac01d1e3f235fa6ebec09a0ddb5c415 + commit = e8f767532226d2c9d8f84400d5652e4d60b20262 + parent = 39ea4c7a86197cf7a4bd244ee55520c0be051c52 method = merge cmdver = 0.4.3 diff --git a/tools/splat/segtypes/n64/code.py b/tools/splat/segtypes/n64/code.py index c0e565d95a..30e646fc73 100644 --- a/tools/splat/segtypes/n64/code.py +++ b/tools/splat/segtypes/n64/code.py @@ -227,6 +227,9 @@ class BinSubsegment(Subsegment): f.write(rom_bytes[self.rom_start : self.rom_end]) class PaletteSubsegment(Subsegment): + def should_run(self, options): + return super().should_run(options) or "img" in options["modes"] + def split_inner(self, segment, rom_bytes, base_path, generic_out_path): img_bytes = rom_bytes[self.rom_start : self.rom_end]