aboutsummaryrefslogtreecommitdiff
path: root/ChocolArm64/Translation/TranslatorQueueItem.cs
blob: dde2706d98e10db0191f034809f7f9f08c07c2ae (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
using ChocolArm64.State;

namespace ChocolArm64.Translation
{
    struct TranslatorQueueItem
    {
        public long Position { get; }

        public ExecutionMode Mode { get; }

        public TranslationTier Tier { get; }

        public bool IsComplete { get; }

        public TranslatorQueueItem(
            long            position,
            ExecutionMode   mode,
            TranslationTier tier,
            bool            isComplete = false)
        {
            Position   = position;
            Mode       = mode;
            Tier       = tier;
            IsComplete = isComplete;
        }
    }
}