TODO: This function may be too slow when both cheats and watches are near the max limit.
| 1618 | |
| 1619 | // TODO: This function may be too slow when both cheats and watches are near the max limit. |
| 1620 | void UpdateWatchCheats() { |
| 1621 | extern int FCEU_CalcCheatAffectedBytes(uint32, uint32); |
| 1622 | for (int i = 0; i < WatchCount; ++i) |
| 1623 | rswatches[i].Cheats = FCEU_CalcCheatAffectedBytes(rswatches[i].Address, WatchSizeConv(rswatches[i])); |
| 1624 | } |
| 1625 | |
| 1626 | void SeparatorCache::Init(HWND hBox) |
| 1627 | { |
no test coverage detected