update bdinfo portable targeting

This commit is contained in:
Luke Pulverenti
2016-10-30 02:36:14 -04:00
parent fd04fddca0
commit b5673f4e16
9 changed files with 117 additions and 18378 deletions

View File

@@ -9,7 +9,6 @@ namespace BDInfo
using System.Diagnostics;
using System.Text;
using System;
using Microsoft.Win32;
/// <devdoc>
/// <para>Provides a simple light bit vector with easy integer or Boolean access to
@@ -69,11 +68,6 @@ namespace BDInfo
}
set
{
#if DEBUG
if ((value & section.Mask) != value) {
Debug.Fail("Value out of bounds on BitVector32 Section Set!");
}
#endif
value <<= section.Offset;
int offsetMask = (0xFFFF & (int)section.Mask) << section.Offset;
data = (data & ~(uint)offsetMask) | ((uint)value & (uint)offsetMask);