Updated memory inspection refresh routine to include the refreshing of the stack pointer value.
This commit is contained in:
@@ -98,6 +98,11 @@ void HexViewerWidget::updateValues(const Targets::TargetMemoryBuffer& buffer) {
|
||||
this->byteItemGraphicsScene->updateValues(buffer);
|
||||
}
|
||||
|
||||
void HexViewerWidget::setStackPointer(std::uint32_t stackPointer) {
|
||||
this->settings.stackPointerAddress = stackPointer;
|
||||
this->byteItemGraphicsScene->update();
|
||||
}
|
||||
|
||||
void HexViewerWidget::resizeEvent(QResizeEvent* event) {
|
||||
this->container->setFixedSize(
|
||||
this->width(),
|
||||
|
||||
@@ -38,6 +38,8 @@ namespace Bloom::Widgets
|
||||
|
||||
void updateValues(const Targets::TargetMemoryBuffer& buffer);
|
||||
|
||||
void setStackPointer(std::uint32_t stackPointer);
|
||||
|
||||
protected:
|
||||
void resizeEvent(QResizeEvent* event) override;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user