Example #1
0
		public void DecodeGameGenieCode(string code)
		{
			var decoder = new NESGameGenieDecoder(code);
			_address = decoder.Address;
			_value = decoder.Value;
			_compare = decoder.Compare;
			SetProperties();
		}
 public void RemoveGameGenie(string code)
 {
     if (NESAvailable)
     {
         var decoder = new NESGameGenieDecoder(code);
         Global.CheatList.RemoveRange(
             Global.CheatList.Where(x => x.Address == decoder.Address));
     }
 }
Example #3
0
 public void RemoveGameGenie(string code)
 {
     if (Global.Emulator.SystemId == "NES")
     {
         var decoder = new NESGameGenieDecoder(code);
         Global.CheatList.RemoveRange(
             Global.CheatList.Where(x => x.Address == decoder.Address));
     }
 }
        public void AddGameGenie(string code)
        {
            if (NESAvailable)
            {
                var decoder = new NESGameGenieDecoder(code);
                var watch   = Watch.GenerateWatch(
                    Global.Emulator.AsMemoryDomains()["System Bus"],
                    decoder.Address,
                    WatchSize.Byte,
                    DisplayType.Hex,
                    false,
                    code);

                Global.CheatList.Add(new Cheat(
                                         watch,
                                         decoder.Value,
                                         decoder.Compare));
            }
        }
Example #5
0
		public void AddGameGenie(string code)
		{
			if (NESAvailable)
			{
				var decoder = new NESGameGenieDecoder(code);
				var watch = Watch.GenerateWatch(
					Global.Emulator.AsMemoryDomains()["System Bus"],
					decoder.Address,
					WatchSize.Byte,
					DisplayType.Hex,
					false,
					code);

				Global.CheatList.Add(new Cheat(
					watch,
					decoder.Value,
					decoder.Compare));
			}
		}
Example #6
0
		public void RemoveGameGenie(string code)
		{
			if (NESAvailable)
			{
				var decoder = new NESGameGenieDecoder(code);
				Global.CheatList.RemoveRange(
					Global.CheatList.Where(x => x.Address == decoder.Address));
			}
		}
Example #7
0
		public void RemoveGameGenie(string code)
		{
			if (Global.Emulator.SystemId == "NES")
			{
				var decoder = new NESGameGenieDecoder(code);
				Global.CheatList.RemoveRange(
					Global.CheatList.Where(x => x.Address == decoder.Address));
			}
		}