diff --git a/tools/GSDumpGUI/Library/GSDump/GSData/GIFUtil.cs b/tools/GSDumpGUI/Library/GSDump/GSData/GIFUtil.cs new file mode 100644 index 0000000000..abc9999fc0 --- /dev/null +++ b/tools/GSDumpGUI/Library/GSDump/GSData/GIFUtil.cs @@ -0,0 +1,12 @@ +using System; + +namespace GSDumpGUI +{ + public class GIFUtil + { + public static UInt64 GetBit(UInt64 value, int lower, int count) + { + return (value >> lower) & (ulong)((1ul << count) - 1); + } + } +} \ No newline at end of file