aboutsummaryrefslogtreecommitdiff
path: root/ARMeilleure/Translation/PTC/EncodingCache.cs
diff options
context:
space:
mode:
authorLDj3SNuD <35856442+LDj3SNuD@users.noreply.github.com>2021-04-13 03:24:36 +0200
committerGitHub <noreply@github.com>2021-04-13 03:24:36 +0200
commit90163087a0a0e3a472556c3fe1a363bdc9703596 (patch)
tree54bffaf751cf80494d6d6af63c348df76b638e8b /ARMeilleure/Translation/PTC/EncodingCache.cs
parent7344dee47598a26fe72de859c311354f834ca2ed (diff)
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
Diffstat (limited to 'ARMeilleure/Translation/PTC/EncodingCache.cs')
-rw-r--r--ARMeilleure/Translation/PTC/EncodingCache.cs4
1 files changed, 2 insertions, 2 deletions
diff --git a/ARMeilleure/Translation/PTC/EncodingCache.cs b/ARMeilleure/Translation/PTC/EncodingCache.cs
index b87e0d7a..90d40c47 100644
--- a/ARMeilleure/Translation/PTC/EncodingCache.cs
+++ b/ARMeilleure/Translation/PTC/EncodingCache.cs
@@ -2,8 +2,8 @@ using System.Text;
namespace ARMeilleure.Translation.PTC
{
- internal static class EncodingCache
+ static class EncodingCache
{
- internal static readonly Encoding UTF8NoBOM = new UTF8Encoding(encoderShouldEmitUTF8Identifier: false, throwOnInvalidBytes: true);
+ public static readonly Encoding UTF8NoBOM = new UTF8Encoding(encoderShouldEmitUTF8Identifier: false, throwOnInvalidBytes: true);
}
} \ No newline at end of file