From 9cb57fb4bb3bbae0ae052a5af4a96a49fc5d864d Mon Sep 17 00:00:00 2001 From: Alex Barney Date: Tue, 30 Oct 2018 19:43:02 -0600 Subject: Adjust naming conventions for Ryujinx and ChocolArm64 projects (#484) * Change naming convention for Ryujinx project * Change naming convention for ChocolArm64 project * Fix NaN * Remove unneeded this. from Ryujinx project * Adjust naming from new PRs * Name changes based on feedback * How did this get removed? * Rebasing fix * Change FP enum case * Remove prefix from ChocolArm64 classes - Part 1 * Remove prefix from ChocolArm64 classes - Part 2 * Fix alignment from last commit's renaming * Rename namespaces * Rename stragglers * Fix alignment * Rename OpCode class * Missed a few * Adjust alignment --- Ryujinx.HLE/Utilities/StructReader.cs | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'Ryujinx.HLE/Utilities/StructReader.cs') diff --git a/Ryujinx.HLE/Utilities/StructReader.cs b/Ryujinx.HLE/Utilities/StructReader.cs index 6e942a9b..19fd2674 100644 --- a/Ryujinx.HLE/Utilities/StructReader.cs +++ b/Ryujinx.HLE/Utilities/StructReader.cs @@ -5,11 +5,11 @@ namespace Ryujinx.HLE.Utilities { class StructReader { - private AMemory Memory; + private MemoryManager Memory; public long Position { get; private set; } - public StructReader(AMemory Memory, long Position) + public StructReader(MemoryManager Memory, long Position) { this.Memory = Memory; this.Position = Position; @@ -17,7 +17,7 @@ namespace Ryujinx.HLE.Utilities public T Read() where T : struct { - T Value = AMemoryHelper.Read(Memory, Position); + T Value = MemoryHelper.Read(Memory, Position); Position += Marshal.SizeOf(); @@ -34,7 +34,7 @@ namespace Ryujinx.HLE.Utilities for (int Index = 0; Index < Count; Index++) { - Output[Index] = AMemoryHelper.Read(Memory, Position); + Output[Index] = MemoryHelper.Read(Memory, Position); Position += StructSize; } -- cgit v1.2.3