Add `RunFor*` variants for `Cycles` and `Millis` functions

Signed-off-by: Michael Richters <gedankenexperimenter@gmail.com>
pull/946/head
Michael Richters 4 years ago committed by Jesse Vincent
parent 69fc1dc0e2
commit 76a48e0a12
No known key found for this signature in database
GPG Key ID: CC228463465E40BC

@ -29,9 +29,16 @@ class SimHarness {
public:
void RunCycle();
void RunCycles(size_t n);
void RunForCycles(size_t n) {
RunCycles(n);
}
void RunMillis(size_t t) {
RunCycles(t);
}
void RunForMillis(size_t t) {
RunMillis(t);
}
void Press(KeyAddr key_addr);
void Release(KeyAddr key_addr);

Loading…
Cancel
Save