diff --git a/bemani/format/afp/blend.py b/bemani/format/afp/blend.py index 427b009..6704182 100644 --- a/bemani/format/afp/blend.py +++ b/bemani/format/afp/blend.py @@ -128,7 +128,7 @@ except ImportError: return img # Warn if we have an unsupported blend. - if blendfunc not in {0, 2, 3, 8, 9, 70}: + if blendfunc not in {0, 1, 2, 3, 8, 9, 70}: print(f"WARNING: Unsupported blend {blendfunc}") return img diff --git a/bemani/format/afp/blendalt.pyx b/bemani/format/afp/blendalt.pyx index 29e1ccf..f8df54e 100644 --- a/bemani/format/afp/blendalt.pyx +++ b/bemani/format/afp/blendalt.pyx @@ -58,7 +58,7 @@ def affine_composite( # be drawn. return img - if blendfunc not in {0, 2, 3, 8, 9, 70}: + if blendfunc not in {0, 1, 2, 3, 8, 9, 70}: print(f"WARNING: Unsupported blend {blendfunc}") return img diff --git a/bemani/format/afp/render.py b/bemani/format/afp/render.py index 8020244..08df5e9 100644 --- a/bemani/format/afp/render.py +++ b/bemani/format/afp/render.py @@ -467,7 +467,7 @@ class AFPRenderer(VerboseOutput): else: new_only_depths = None - if blend not in {0, 2}: + if blend not in {0, 1, 2}: print(f"WARNING: Unsupported sprite blend {blend}!") # This is a sprite placement reference. Make sure that we render lower depths