|
44 | 44 | #include "gui/widgets/events.h" |
45 | 45 | #include "gui/widgets/filedialog.h" |
46 | 46 | #include "gui/widgets/gpulogger.h" |
| 47 | +#include "gui/widgets/heap_viewer.h" |
47 | 48 | #include "gui/widgets/handlers.h" |
48 | 49 | #include "gui/widgets/isobrowser.h" |
49 | 50 | #include "gui/widgets/kernellog.h" |
@@ -115,6 +116,7 @@ class GUI final : public UI { |
115 | 116 | typedef Setting<bool, TYPESTRING("ShowIsoBrowser")> ShowIsoBrowser; |
116 | 117 | typedef Setting<bool, TYPESTRING("ShowGPULogger")> ShowGPULogger; |
117 | 118 | typedef Setting<bool, TYPESTRING("ShowRAMViewer")> ShowRAMViewer; |
| 119 | + typedef Setting<bool, TYPESTRING("ShowHeapViewer")> ShowHeapViewer; |
118 | 120 | typedef Setting<int, TYPESTRING("WindowPosX"), 0> WindowPosX; |
119 | 121 | typedef Setting<int, TYPESTRING("WindowPosY"), 0> WindowPosY; |
120 | 122 | typedef Setting<int, TYPESTRING("WindowSizeX"), 1280> WindowSizeX; |
@@ -159,7 +161,7 @@ class GUI final : public UI { |
159 | 161 | ShowCLUTVRAMViewer, ShowVRAMViewer1, ShowVRAMViewer2, ShowVRAMViewer3, ShowVRAMViewer4, ShowMemoryObserver, |
160 | 162 | ShowTypedDebugger, ShowPatches, ShowMemcardManager, ShowRegisters, ShowAssembly, ShowDisassembly, |
161 | 163 | ShowBreakpoints, ShowNamedSaveStates, ShowEvents, ShowHandlers, ShowKernelLog, ShowCallstacks, ShowSIO1, |
162 | | - ShowIsoBrowser, ShowGPULogger, ShowRAMViewer, MainFontSize, MonoFontSize, GUITheme, |
| 164 | + ShowIsoBrowser, ShowGPULogger, ShowRAMViewer, ShowHeapViewer, MainFontSize, MonoFontSize, GUITheme, |
163 | 165 | AllowMouseCaptureToggle, |
164 | 166 | EnableRawMouseMotion, WidescreenRatio, ShowPIOCartConfig, ShowMemoryEditor1, ShowMemoryEditor2, |
165 | 167 | ShowMemoryEditor3, ShowMemoryEditor4, ShowMemoryEditor5, ShowMemoryEditor6, ShowMemoryEditor7, |
@@ -407,6 +409,7 @@ class GUI final : public UI { |
407 | 409 | Widgets::SIO1 m_sio1 = {settings.get<ShowSIO1>().value}; |
408 | 410 |
|
409 | 411 | Widgets::GPULogger m_gpuLogger{settings.get<ShowGPULogger>().value}; |
| 412 | + Widgets::HeapViewer m_heapViewer{settings.get<ShowHeapViewer>().value}; |
410 | 413 |
|
411 | 414 | EventBus::Listener m_listener; |
412 | 415 |
|
|
0 commit comments