aboutsummaryrefslogtreecommitdiff
path: root/src/Ryujinx.Horizon/ServiceEntry.cs
diff options
context:
space:
mode:
Diffstat (limited to 'src/Ryujinx.Horizon/ServiceEntry.cs')
-rw-r--r--src/Ryujinx.Horizon/ServiceEntry.cs12
1 files changed, 6 insertions, 6 deletions
diff --git a/src/Ryujinx.Horizon/ServiceEntry.cs b/src/Ryujinx.Horizon/ServiceEntry.cs
index 06152d9f..edf76fcd 100644
--- a/src/Ryujinx.Horizon/ServiceEntry.cs
+++ b/src/Ryujinx.Horizon/ServiceEntry.cs
@@ -4,17 +4,17 @@ using System;
namespace Ryujinx.Horizon
{
- public struct ServiceEntry
+ public readonly struct ServiceEntry
{
private readonly Action<ServiceTable> _entrypoint;
- private readonly ServiceTable _serviceTable;
- private readonly HorizonOptions _options;
+ private readonly ServiceTable _serviceTable;
+ private readonly HorizonOptions _options;
internal ServiceEntry(Action<ServiceTable> entrypoint, ServiceTable serviceTable, HorizonOptions options)
{
- _entrypoint = entrypoint;
+ _entrypoint = entrypoint;
_serviceTable = serviceTable;
- _options = options;
+ _options = options;
}
public void Start(ISyscallApi syscallApi, IVirtualMemoryManager addressSpace, IThreadContext threadContext)
@@ -24,4 +24,4 @@ namespace Ryujinx.Horizon
_entrypoint(_serviceTable);
}
}
-} \ No newline at end of file
+}