R/ARMeilleure/Translation/PTC/RelocEntry.cs
LDj3SNuD 90163087a0
PPTC vs. giant ExeFS. (#2168)
* 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
2021-04-13 03:24:36 +02:00

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})";
}
}
}