diff --git a/Source/Collections/Deque.cs b/Source/Collections/Deque.cs index 0899f9a..b292323 100644 --- a/Source/Collections/Deque.cs +++ b/Source/Collections/Deque.cs @@ -294,7 +294,12 @@ namespace Nuclex.Support.Collections { } index += this.firstBlockStartIndex; +#if XBOX360 + blockIndex = index / this.blockSize; + subIndex = index % this.blockSize; +#else blockIndex = Math.DivRem(index, this.blockSize, out subIndex); +#endif } ///