Пример #1
0
 public IGTState(GameBoy gb, bool success, int igtStamp)
 {
     IGTStamp = igtStamp;
     Success  = success;
     State    = gb.SaveState();
     HRA      = gb.CpuRead("hRandomAdd");
     HRS      = gb.CpuRead("hRandomSub");
     Divider  = gb.DividerState;
 }
Пример #2
0
 public bool IsDefeated(GameBoy gb)
 {
     return((gb.CpuRead(EventFlagAddress) & EventFlagBit) == 0);
 }
Пример #3
0
 public byte Peek() {
     return GB.CpuRead(Position);
 }