fixing typos and indents

This commit is contained in:
Clément Le Bihan
2021-05-04 23:30:20 +02:00
parent 550ab3aff4
commit fad712f9e2
2 changed files with 5 additions and 5 deletions

View File

@@ -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
}