From da612e4b2399703405a4f8f8127747a20cf9011b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Cl=C3=A9ment=20Le=20Bihan?= Date: Fri, 7 May 2021 00:43:24 +0200 Subject: [PATCH] starting window correctly and generating correct files --- CMakeLists.txt | 4 +++- sources/Debugger/TileViewer.hpp | 4 ++-- 2 files changed, 5 insertions(+), 3 deletions(-) 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: