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

Function UpdateWatchCheats

src/drivers/win/ramwatch.cpp:1620–1624  ·  view source on GitHub ↗

TODO: This function may be too slow when both cheats and watches are near the max limit.

Source from the content-addressed store, hash-verified

1618
1619// TODO: This function may be too slow when both cheats and watches are near the max limit.
1620void 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
1626void SeparatorCache::Init(HWND hBox)
1627{

Callers 1

UpdateCheatRelatedWindowFunction · 0.85

Calls 1

Tested by

no test coverage detected