mirror of
https://github.com/MoleskiCoder/EightBit.git
synced 2026-10-24 20:02:21 +00:00
Tidy profile output
Signed-off-by: Adrian.Conlon <adrian.conlon@gmail.com>
This commit is contained in:
1 parent
23b5a5d579
commit
529aa1bd21
2 files changed
+6
-2
No files matched your search
@@ -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();
|
||||
|
||||
+3
-1
@@ -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();
|
||||
|
||||
Reference in new issue
Block a user