mirror of
https://github.com/zoriya/ComSquare.git
synced 2025-12-20 14:15:11 +00:00
fixing typos and indents
This commit is contained in:
@@ -124,7 +124,7 @@ namespace ComSquare
|
||||
|
||||
void SNES::enableMemoryBusDebugging()
|
||||
{
|
||||
#ifdef DEBUGGER_ENABLED
|
||||
#ifdef DEBUGGER_ENABLED
|
||||
if (this->bus->isDebugger())
|
||||
std::static_pointer_cast<Debugger::MemoryBusDebug>(this->bus)->focus();
|
||||
else
|
||||
@@ -132,9 +132,9 @@ namespace ComSquare
|
||||
this->bus = std::make_shared<Debugger::MemoryBusDebug>(*this, *this->bus);
|
||||
this->cpu->setMemoryBus(this->bus);
|
||||
}
|
||||
#else
|
||||
#else
|
||||
std::cerr << "Debugging features are not enabled. You can't enable the debugger." << std::endl;
|
||||
#endif
|
||||
#endif
|
||||
}
|
||||
|
||||
void SNES::disableMemoryBusDebugging()
|
||||
@@ -160,7 +160,7 @@ namespace ComSquare
|
||||
void SNES::disableCgramDebugging()
|
||||
{
|
||||
#ifdef DEBUGGER_ENABLED
|
||||
this->_cgramViewer = nullptr;
|
||||
this->_cgramViewer = nullptr;
|
||||
#endif
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user