Fixed another compilation error that was causing the XBox 360 build to fail because .NET is missing the Math.DivRem() method on the XBox 360
git-svn-id: file:///srv/devel/repo-conversion/nusu@168 d2e56fa2-650e-0410-a79f-9358c0239efd
This commit is contained in:
parent
d91dc70146
commit
88b89dea19
|
@ -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
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
|
|
Loading…
Reference in New Issue
Block a user