MCPcopy Create free account
hub / github.com/TASEmulators/fceux / VerifyWatchNotAlreadyAdded

Function VerifyWatchNotAlreadyAdded

src/drivers/win/ramwatch.cpp:90–102  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

88}
89
90bool VerifyWatchNotAlreadyAdded(const AddressWatcher& watch)
91{
92 for (int j = 0; j < WatchCount; j++)
93 {
94 if (IsSameWatch(rswatches[j], watch))
95 {
96 if(RamWatchHWnd)
97 SetForegroundWindow(RamWatchHWnd);
98 return false;
99 }
100 }
101 return true;
102}
103
104
105bool InsertWatch(const AddressWatcher& Watch)

Callers 2

InsertWatchFunction · 0.85
EditWatchFunction · 0.85

Calls 1

IsSameWatchFunction · 0.85

Tested by

no test coverage detected