diff --git a/DotN64/CPU/VR4300/CP0/VR4300.SystemControlUnit.StatusRegister.cs b/DotN64/CPU/VR4300/CP0/VR4300.SystemControlUnit.StatusRegister.cs index 7579463..66d63ee 100644 --- a/DotN64/CPU/VR4300/CP0/VR4300.SystemControlUnit.StatusRegister.cs +++ b/DotN64/CPU/VR4300/CP0/VR4300.SystemControlUnit.StatusRegister.cs @@ -61,7 +61,7 @@ namespace DotN64.CPU /// public Mode KSU { - get => (Mode)this[ksu]; + get => (EXL | ERL) ? Mode.Kernel : (Mode)this[ksu]; set => this[ksu] = (int)value; }