mirror of
https://github.com/zoriya/ComSquare.git
synced 2026-05-25 07:33:32 +00:00
Creating the layout of a DMA viewer
This commit is contained in:
@@ -153,4 +153,21 @@ namespace ComSquare
|
||||
this->_cgramViewer = nullptr;
|
||||
#endif
|
||||
}
|
||||
|
||||
void SNES::disableDMADebugging()
|
||||
{
|
||||
#ifdef DEBUGGER_ENABLED
|
||||
this->_dmaViewer = nullptr;
|
||||
#endif
|
||||
}
|
||||
|
||||
void SNES::enableDMADebugging()
|
||||
{
|
||||
#ifdef DEBUGGER_ENABLED
|
||||
if (this->_dmaViewer)
|
||||
this->_dmaViewer->focus();
|
||||
else
|
||||
this->_dmaViewer = std::make_unique<Debugger::DMADebug>(*this);
|
||||
#endif
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user