How could I get started logging more events to the log that's at the bottom of the Debugger window? I would like to make it easier to debug some of my DMAs, so I tried making this change:
Compiling snes/cpu/cpu.cpp...
In file included from snes/cpu/cpu.cpp:16:
snes/cpu/dma/dma.cpp: In member function ‘void SNES::CPU::dma_transfer(bool, SNES::uint8, SNES::uint32)’:
snes/cpu/dma/dma.cpp:34:16: error: ‘class SNES::Debugger’ has no member named ‘echo’
34 | debugger.echo(string() << "DMA Transfer started. Direction=" << direction << " bbus: " << bbus << " abus: " << '\n');
| ^~~~
What would be the correct way to go about implementing this?
How could I get started logging more events to the log that's at the bottom of the Debugger window? I would like to make it easier to debug some of my DMAs, so I tried making this change:
But got this error:
What would be the correct way to go about implementing this?