diff --git a/CMakeLists.txt b/CMakeLists.txt index 5aa595c..8953676 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -237,7 +237,9 @@ add_executable(ComSquare sources/APU/DSP/Timer.cpp sources/APU/DSP/BRR.cpp sources/PPU/PPUUtils.cpp - sources/Debugger/TileViewer.cpp sources/Debugger/TileViewer.hpp) + sources/Debugger/TileViewer.cpp + sources/Debugger/TileViewer.hpp + ui/tileView.ui) target_compile_definitions(ComSquare PUBLIC DEBUGGER_ENABLED) diff --git a/sources/Debugger/TileViewer.hpp b/sources/Debugger/TileViewer.hpp index d3444f6..365ed1a 100644 --- a/sources/Debugger/TileViewer.hpp +++ b/sources/Debugger/TileViewer.hpp @@ -6,7 +6,7 @@ #include #include "../PPU/PPU.hpp" -#include "../../ui/ui_cgramView.h" +#include "../../ui/ui_tileView.h" #include #include #include @@ -52,7 +52,7 @@ namespace ComSquare::Debugger //! @brief A reference to the snes (to disable the debugger). SNES &_snes; //! @brief A widget that contain the whole UI. - Ui::CgramView _ui; + Ui::TileViewer _ui; //! @brief A reference to the ppu ComSquare::PPU::PPU &_ppu; public: