2010-12-26 01:00:11 +00:00
|
|
|
|
using System;
|
|
|
|
|
using System.Collections.Generic;
|
|
|
|
|
using System.Text;
|
|
|
|
|
|
|
|
|
|
namespace GSDumpGUI
|
|
|
|
|
{
|
|
|
|
|
public class GIFRegNOP : GIFReg
|
|
|
|
|
{
|
2010-12-26 12:22:37 +00:00
|
|
|
|
public int addr;
|
|
|
|
|
|
|
|
|
|
public GIFRegNOP(int addr, UInt64 LowData, UInt64 HighData, bool PackedFormat) : base(addr, LowData, HighData, PackedFormat) { }
|
|
|
|
|
|
2010-12-26 01:00:11 +00:00
|
|
|
|
static public GIFReg Unpack(GIFTag tag, int addr, UInt64 LowData, UInt64 HighData, bool PackedFormat)
|
|
|
|
|
{
|
2010-12-26 12:22:37 +00:00
|
|
|
|
GIFRegNOP nop = new GIFRegNOP(addr, LowData, HighData, PackedFormat);
|
2010-12-26 01:00:11 +00:00
|
|
|
|
nop.Descriptor = GIFRegDescriptor.NOP;
|
2010-12-26 12:22:37 +00:00
|
|
|
|
|
2010-12-26 01:00:11 +00:00
|
|
|
|
return nop;
|
|
|
|
|
}
|
2010-12-26 12:22:37 +00:00
|
|
|
|
|
|
|
|
|
public override string ToString()
|
|
|
|
|
{
|
|
|
|
|
return Descriptor.ToString() + " (0x" + addr.ToString("X2") + ")";
|
|
|
|
|
}
|
2010-12-26 01:00:11 +00:00
|
|
|
|
}
|
|
|
|
|
}
|