mirror of
https://github.com/Ryujinx/Ryujinx.git
synced 2024-11-08 09:58:32 +00:00
9cb57fb4bb
* 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
37 lines
828 B
C#
37 lines
828 B
C#
namespace ChocolArm64.Memory
|
|
{
|
|
public interface IMemory
|
|
{
|
|
sbyte ReadSByte(long position);
|
|
|
|
short ReadInt16(long position);
|
|
|
|
int ReadInt32(long position);
|
|
|
|
long ReadInt64(long position);
|
|
|
|
byte ReadByte(long position);
|
|
|
|
ushort ReadUInt16(long position);
|
|
|
|
uint ReadUInt32(long position);
|
|
|
|
ulong ReadUInt64(long position);
|
|
|
|
void WriteSByte(long position, sbyte value);
|
|
|
|
void WriteInt16(long position, short value);
|
|
|
|
void WriteInt32(long position, int value);
|
|
|
|
void WriteInt64(long position, long value);
|
|
|
|
void WriteByte(long position, byte value);
|
|
|
|
void WriteUInt16(long position, ushort value);
|
|
|
|
void WriteUInt32(long position, uint value);
|
|
|
|
void WriteUInt64(long position, ulong value);
|
|
}
|
|
} |