Starting to implement the switch addr tab

This commit is contained in:
Anonymus Raccoon
2020-02-25 01:55:53 +01:00
parent 3ff896f8f0
commit 4437df4666
3 changed files with 39 additions and 1 deletions
+7
View File
@@ -56,11 +56,18 @@ namespace ComSquare
Ui::RamView _ui;
//! @brief The Ram visualizer model for QT.
MemoryViewerModel _model;
//! @brief Helper function to create the goto dialog.
void _internalGoto(bool isAbsolute);
public:
//! @brief Select the memory tab corresponding to a 24 bit address (map the address via the bus).
void switchToAddrTab(uint24_t addr);
//! @brief Callback called when a memory tab is selected.
void changeRam(int id);
//! @brief Create a popup asking you where you want to jump to.
void gotoAddr();
//! @brief Create a popup asking you where you want to jump to with the absolute mode selected.
void gotoAbsoluteAddr();
explicit MemoryViewer(SNES &snes);
MemoryViewer(const MemoryViewer &) = delete;