From 3064551c09c3f0ace7d4bdb10d7f9821a26721f1 Mon Sep 17 00:00:00 2001 From: sudonim1 Date: Tue, 28 Dec 2010 18:32:12 +0000 Subject: [PATCH] GSDumpGUI: Forgot a file git-svn-id: http://pcsx2.googlecode.com/svn/trunk@4165 96395faa-99c1-11dd-bbfe-3dabce05a288 --- tools/GSDumpGUI/Library/GSDump/GSData/GIFUtil.cs | 12 ++++++++++++ 1 file changed, 12 insertions(+) create mode 100644 tools/GSDumpGUI/Library/GSDump/GSData/GIFUtil.cs 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