| 88 | } |
| 89 | |
| 90 | bool 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 | |
| 105 | bool InsertWatch(const AddressWatcher& Watch) |
no test coverage detected