mirror of
https://github.com/stenzek/duckstation.git
synced 2024-11-26 23:50:31 +00:00
MemoryScanner: Fix default operator value
This commit is contained in:
parent
c279376cff
commit
163cb2f653
@ -80,7 +80,7 @@ private:
|
|||||||
|
|
||||||
u32 m_value = 0;
|
u32 m_value = 0;
|
||||||
MemoryAccessSize m_size = MemoryAccessSize::HalfWord;
|
MemoryAccessSize m_size = MemoryAccessSize::HalfWord;
|
||||||
Operator m_operator = Operator::Equal;
|
Operator m_operator = Operator::Any;
|
||||||
PhysicalMemoryAddress m_start_address = 0;
|
PhysicalMemoryAddress m_start_address = 0;
|
||||||
PhysicalMemoryAddress m_end_address = 0x200000;
|
PhysicalMemoryAddress m_end_address = 0x200000;
|
||||||
ResultVector m_results;
|
ResultVector m_results;
|
||||||
|
@ -106,6 +106,8 @@ void MemoryScannerWindow::connectUi()
|
|||||||
{
|
{
|
||||||
m_ui.scanStartAddress->setText(formatHexValue(m_scanner.GetStartAddress(), 8));
|
m_ui.scanStartAddress->setText(formatHexValue(m_scanner.GetStartAddress(), 8));
|
||||||
m_ui.scanEndAddress->setText(formatHexValue(m_scanner.GetEndAddress(), 8));
|
m_ui.scanEndAddress->setText(formatHexValue(m_scanner.GetEndAddress(), 8));
|
||||||
|
m_ui.scanOperator->setCurrentIndex(static_cast<int>(m_scanner.GetOperator()));
|
||||||
|
m_ui.scanSize->setCurrentIndex(static_cast<int>(m_scanner.GetSize()));
|
||||||
|
|
||||||
connect(m_ui.scanValue, &QLineEdit::textChanged, this, &MemoryScannerWindow::updateScanValue);
|
connect(m_ui.scanValue, &QLineEdit::textChanged, this, &MemoryScannerWindow::updateScanValue);
|
||||||
connect(m_ui.scanValueBase, QOverload<int>::of(&QComboBox::currentIndexChanged),
|
connect(m_ui.scanValueBase, QOverload<int>::of(&QComboBox::currentIndexChanged),
|
||||||
|
Loading…
Reference in New Issue
Block a user