diff --git a/dx2cg/disassembler.py b/dx2cg/disassembler.py index b3fc2a9..d3c1556 100644 --- a/dx2cg/disassembler.py +++ b/dx2cg/disassembler.py @@ -41,6 +41,7 @@ decls = { ops = { "mov": "{0} = {1};", + "mov_sat": "{0} = clamp({1}, 0.0, 1.0)", "add": "{0} = {1} + {2};", "mul": "{0} = {1} * {2};", "mad": "{0} = {1} * {2} + {3};",