mirror of
https://github.com/MoleskiCoder/EightBit.git
synced 2025-01-03 09:29:50 +00:00
Add cycle count to the z80 fuse test runner.
Signed-off-by: Adrian Conlon <Adrian.conlon@gmail.com>
This commit is contained in:
parent
6285a397ab
commit
0b6a656a45
@ -18,6 +18,7 @@ Fuse::TestRunner::TestRunner(const Test& test, const ExpectedTestResult& result)
|
||||
|
||||
m_cpu.ExecutedInstruction.connect([this](EightBit::Z80& cpu) {
|
||||
m_totalCycles += cpu.cycles();
|
||||
std::cout << "**** Cycle count: " << cpu.cycles() << std::endl;
|
||||
});
|
||||
|
||||
ReadByte.connect([this](EightBit::EventArgs&) {
|
||||
|
Loading…
Reference in New Issue
Block a user