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); }
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; }