Fix 64bit registers that are not displayed correctly
This commit is contained in:
parent
56d74d65d0
commit
b6138b9408
|
@ -323,7 +323,7 @@ void RegisterWidget::PopulateTable()
|
|||
}
|
||||
|
||||
void RegisterWidget::AddRegister(int row, int column, RegisterType type, std::string register_name,
|
||||
std::function<u32()> get_reg, std::function<void(u32)> set_reg)
|
||||
std::function<u64()> get_reg, std::function<void(u64)> set_reg)
|
||||
{
|
||||
auto* value = new RegisterColumn(type, get_reg, set_reg);
|
||||
|
||||
|
|
|
@ -40,7 +40,7 @@ private:
|
|||
void OnItemChanged(QTableWidgetItem* item);
|
||||
|
||||
void AddRegister(int row, int column, RegisterType type, std::string register_name,
|
||||
std::function<u32()> get_reg, std::function<void(u32)> set_reg);
|
||||
std::function<u64()> get_reg, std::function<void(u64)> set_reg);
|
||||
|
||||
QTableWidget* m_table;
|
||||
bool m_updating = false;
|
||||
|
|
Loading…
Reference in New Issue