Naming conventions

This commit is contained in:
Alex Barney
2018-12-01 14:01:59 -06:00
parent 8faae5612d
commit 77972140a6
286 changed files with 11867 additions and 11845 deletions

View File

@ -5,19 +5,19 @@ namespace Ryujinx.HLE.Utilities
{
class StructWriter
{
private MemoryManager Memory;
private MemoryManager _memory;
public long Position { get; private set; }
public StructWriter(MemoryManager Memory, long Position)
public StructWriter(MemoryManager memory, long position)
{
this.Memory = Memory;
this.Position = Position;
this._memory = memory;
this.Position = position;
}
public void Write<T>(T Value) where T : struct
public void Write<T>(T value) where T : struct
{
MemoryHelper.Write(Memory, Position, Value);
MemoryHelper.Write(_memory, Position, value);
Position += Marshal.SizeOf<T>();
}