Add opcodes

This commit is contained in:
2019-02-09 15:09:40 -07:00
parent 9cc69a67ea
commit 70394e1f7e
3 changed files with 187 additions and 3 deletions

View File

@@ -252,7 +252,13 @@ namespace MCEmuCore.GBMonolith
public class FlagRegister
{
protected internal byte Value { get; set; }
private byte register;
public byte Value {
get => register;
set {
register = (byte)(value & 0b1111_0000);
}
}
#region Boolean Flag Properties
public bool Zero
{