mirror of
https://github.com/zoriya/ComSquare.git
synced 2025-12-21 14:45:10 +00:00
fixing typos and indents
This commit is contained in:
@@ -28,7 +28,7 @@ namespace ComSquare::Renderer
|
|||||||
//! @brief QT event that refresh the widget. (A draw screen)
|
//! @brief QT event that refresh the widget. (A draw screen)
|
||||||
void paintEvent(QPaintEvent*) override;
|
void paintEvent(QPaintEvent*) override;
|
||||||
|
|
||||||
// @brief Internal timer used for update intervals.
|
//! @brief Internal timer used for update intervals.
|
||||||
QTimer _timer;
|
QTimer _timer;
|
||||||
//! @brief Has the SF window been created yet.
|
//! @brief Has the SF window been created yet.
|
||||||
bool _isInitialized = false;
|
bool _isInitialized = false;
|
||||||
|
|||||||
@@ -124,7 +124,7 @@ namespace ComSquare
|
|||||||
|
|
||||||
void SNES::enableMemoryBusDebugging()
|
void SNES::enableMemoryBusDebugging()
|
||||||
{
|
{
|
||||||
#ifdef DEBUGGER_ENABLED
|
#ifdef DEBUGGER_ENABLED
|
||||||
if (this->bus->isDebugger())
|
if (this->bus->isDebugger())
|
||||||
std::static_pointer_cast<Debugger::MemoryBusDebug>(this->bus)->focus();
|
std::static_pointer_cast<Debugger::MemoryBusDebug>(this->bus)->focus();
|
||||||
else
|
else
|
||||||
@@ -132,9 +132,9 @@ namespace ComSquare
|
|||||||
this->bus = std::make_shared<Debugger::MemoryBusDebug>(*this, *this->bus);
|
this->bus = std::make_shared<Debugger::MemoryBusDebug>(*this, *this->bus);
|
||||||
this->cpu->setMemoryBus(this->bus);
|
this->cpu->setMemoryBus(this->bus);
|
||||||
}
|
}
|
||||||
#else
|
#else
|
||||||
std::cerr << "Debugging features are not enabled. You can't enable the debugger." << std::endl;
|
std::cerr << "Debugging features are not enabled. You can't enable the debugger." << std::endl;
|
||||||
#endif
|
#endif
|
||||||
}
|
}
|
||||||
|
|
||||||
void SNES::disableMemoryBusDebugging()
|
void SNES::disableMemoryBusDebugging()
|
||||||
@@ -160,7 +160,7 @@ namespace ComSquare
|
|||||||
void SNES::disableCgramDebugging()
|
void SNES::disableCgramDebugging()
|
||||||
{
|
{
|
||||||
#ifdef DEBUGGER_ENABLED
|
#ifdef DEBUGGER_ENABLED
|
||||||
this->_cgramViewer = nullptr;
|
this->_cgramViewer = nullptr;
|
||||||
#endif
|
#endif
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user