mirror of
https://github.com/Ryujinx/Ryujinx.git
synced 2024-10-01 12:30:00 +02:00
90163087a0
* PPTC vs. giant ExeFS. * InternalVersion = 2168 * Add new heuristic algorithm for calculating the number of threads for parallel translations that also takes into account the user's free physical memory and not just the number of CPU cores. * Nit. * Add an outer Header structure and add the hashes for both this new structure and the existing "inner" Header structure. * InternalVersion = 2169
21 lines
No EOL
460 B
C#
21 lines
No EOL
460 B
C#
namespace ARMeilleure.Translation.PTC
|
|
{
|
|
struct RelocEntry
|
|
{
|
|
public const int Stride = 8; // Bytes.
|
|
|
|
public int Position;
|
|
public int Index;
|
|
|
|
public RelocEntry(int position, int index)
|
|
{
|
|
Position = position;
|
|
Index = index;
|
|
}
|
|
|
|
public override string ToString()
|
|
{
|
|
return $"({nameof(Position)} = {Position}, {nameof(Index)} = {Index})";
|
|
}
|
|
}
|
|
} |