.
This commit is contained in:
parent
57d1486da9
commit
00b86407a2
@ -69,7 +69,7 @@ namespace ARMeilleure.Decoders.Optimizations
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
List<Block> newBlocks = new (blocks.Count);
|
List<Block> newBlocks = new(blocks.Count);
|
||||||
|
|
||||||
// Finally, rebuild decoded block list, ignoring blocks outside the contiguous range.
|
// Finally, rebuild decoded block list, ignoring blocks outside the contiguous range.
|
||||||
for (int i = 0; i < blocks.Count; i++)
|
for (int i = 0; i < blocks.Count; i++)
|
||||||
|
@ -277,7 +277,7 @@ namespace ARMeilleure.Instructions
|
|||||||
{
|
{
|
||||||
int elems = op.GetBytesCount() >> op.Size;
|
int elems = op.GetBytesCount() >> op.Size;
|
||||||
|
|
||||||
(int Qx, int Ix)[] tableTuples = new (int, int)[length];
|
(int Qx, int Ix)[] tableTuples = new(int, int)[length];
|
||||||
for (int i = 0; i < length; i++)
|
for (int i = 0; i < length; i++)
|
||||||
{
|
{
|
||||||
tableTuples[i] = GetQuadwordAndSubindex(op.Vn + i, op.RegisterSize);
|
tableTuples[i] = GetQuadwordAndSubindex(op.Vn + i, op.RegisterSize);
|
||||||
|
@ -198,7 +198,7 @@ namespace Ryujinx.Graphics.Gpu.Shader.DiskCache
|
|||||||
{
|
{
|
||||||
if (_cache == null || index >= _cache.Length)
|
if (_cache == null || index >= _cache.Length)
|
||||||
{
|
{
|
||||||
_cache = new (byte[], byte[])[Math.Max(index + 1, GetShadersCountFromLength(tocFileStream.Length))];
|
_cache = new(byte[], byte[])[Math.Max(index + 1, GetShadersCountFromLength(tocFileStream.Length))];
|
||||||
}
|
}
|
||||||
|
|
||||||
(byte[] guestCode, byte[] cb1Data) = _cache[index];
|
(byte[] guestCode, byte[] cb1Data) = _cache[index];
|
||||||
|
@ -752,7 +752,7 @@ namespace Ryujinx.HLE.HOS
|
|||||||
patches[i] = new MemPatch();
|
patches[i] = new MemPatch();
|
||||||
}
|
}
|
||||||
|
|
||||||
List<string> buildIds = new (programs.Length);
|
List<string> buildIds = new(programs.Length);
|
||||||
|
|
||||||
foreach (IExecutable p in programs)
|
foreach (IExecutable p in programs)
|
||||||
{
|
{
|
||||||
|
Loading…
x
Reference in New Issue
Block a user