aboutsummaryrefslogtreecommitdiff
path: root/src/Ryujinx.Cpu/LightningJit/Arm32/PendingBranch.cs
diff options
context:
space:
mode:
Diffstat (limited to 'src/Ryujinx.Cpu/LightningJit/Arm32/PendingBranch.cs')
-rw-r--r--src/Ryujinx.Cpu/LightningJit/Arm32/PendingBranch.cs20
1 files changed, 20 insertions, 0 deletions
diff --git a/src/Ryujinx.Cpu/LightningJit/Arm32/PendingBranch.cs b/src/Ryujinx.Cpu/LightningJit/Arm32/PendingBranch.cs
new file mode 100644
index 00000000..8f48cd07
--- /dev/null
+++ b/src/Ryujinx.Cpu/LightningJit/Arm32/PendingBranch.cs
@@ -0,0 +1,20 @@
+namespace Ryujinx.Cpu.LightningJit.Arm32
+{
+ readonly struct PendingBranch
+ {
+ public readonly BranchType BranchType;
+ public readonly uint TargetAddress;
+ public readonly uint NextAddress;
+ public readonly InstName Name;
+ public readonly int WriterPointer;
+
+ public PendingBranch(BranchType branchType, uint targetAddress, uint nextAddress, InstName name, int writerPointer)
+ {
+ BranchType = branchType;
+ TargetAddress = targetAddress;
+ NextAddress = nextAddress;
+ Name = name;
+ WriterPointer = writerPointer;
+ }
+ }
+}