From cb488cf2114af005d82d381aa1a2c8086034c138 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Cl=C3=A9ment=20Le=20Bihan?= Date: Thu, 14 May 2020 18:41:06 +0200 Subject: [PATCH] removing commentary --- sources/Debugger/CGramDebug.hpp | 47 --------------------------------- 1 file changed, 47 deletions(-) diff --git a/sources/Debugger/CGramDebug.hpp b/sources/Debugger/CGramDebug.hpp index 03c5d62..a8ad12c 100644 --- a/sources/Debugger/CGramDebug.hpp +++ b/sources/Debugger/CGramDebug.hpp @@ -14,53 +14,6 @@ #include #include "ClosableWindow.hpp" - -/*namespace ComSquare -{ - class SNES; - namespace Debugger - { - //! @brief Window that show the header of the currently running game. - class cgramViewer { - private: - //! @brief The QT window for this debugger. - ClosableWindow *_window{}; - //! @brief A reference to the snes (to disable the debugger). - SNES &_snes; - //! @brief The layout of the viewer. - Ui::CgramView _ui; - //! @brief The ppu containing the cgram. - ComSquare::PPU::PPU &_ppu; - public slots: - //! @brief Called when the window is closed. Turn off the debugger and revert to a basic CPU. - void disableDebugger(); - public: - //! @brief Focus the debugger's window. - void focus(); - - explicit cgramViewer(SNES &snes, ComSquare::PPU::PPU &ppu); - cgramViewer(const cgramViewer &) = delete; - cgramViewer &operator=(const cgramViewer &) = delete; - ~cgramViewer() = default; - }; - } -}*/ - -/*namespace ComSquare::cgramDebugger -{ - //! @brief The struct used to represent memory bus logs. - struct BusLog { - BusLog(bool write, uint24_t addr, std::shared_ptr &accessor, uint8_t oldData, uint8_t newData); - - bool write; - uint24_t addr; - std::shared_ptr accessor; - uint8_t oldData; - uint8_t newData; - }; -}*/ - - //! @brief The qt model that bind the logs to the view. class CGramModel : public QAbstractTableModel {