Tidy profile output

Signed-off-by: Adrian.Conlon <adrian.conlon@gmail.com>
This commit is contained in:
Adrian.Conlon 2017-06-22 10:27:19 +01:00
parent 23b5a5d579
commit 529aa1bd21
2 changed files with 6 additions and 2 deletions

View File

@ -42,7 +42,9 @@ void Board::Cpu_ExecutingInstruction_Cpm(const EightBit::Intel8080&) {
switch (pc.word) {
case 0x0: // CP/M warm start
m_cpu.halt();
m_profiler.dump();
if (m_configuration.isProfileMode()) {
m_profiler.dump();
}
break;
case 0x5: // BDOS
bdos();

View File

@ -41,7 +41,9 @@ void Board::Cpu_ExecutingInstruction_Cpm(const EightBit::Z80&) {
switch (pc.word) {
case 0x0: // CP/M warm start
m_cpu.halt();
m_profiler.dump();
if (m_configuration.isProfileMode()) {
m_profiler.dump();
}
break;
case 0x5: // BDOS
bdos();