Example #1
0
 NESWatch GetWatch(NESWatch.EDomain domain, int address)
 {
     if (domain == NESWatch.EDomain.Sysbus)
     {
         NESWatch ret = sysbus_watch[address] ?? new NESWatch(this, domain, address);
         sysbus_watch[address] = ret;
         return(ret);
     }
     return(null);
 }
Example #2
0
		NESWatch GetWatch(NESWatch.EDomain domain, int address)
		{
			if (domain == NESWatch.EDomain.Sysbus)
			{
				NESWatch ret = sysbus_watch[address] ?? new NESWatch(this, domain, address);
				sysbus_watch[address] = ret;
				return ret;
			}
			return null;
		}