Fix 64bit registers that are not displayed correctly

This commit is contained in:
container1234 2018-01-13 16:21:32 +09:00
parent 56d74d65d0
commit b6138b9408
2 changed files with 2 additions and 2 deletions

View File

@ -323,7 +323,7 @@ void RegisterWidget::PopulateTable()
} }
void RegisterWidget::AddRegister(int row, int column, RegisterType type, std::string register_name, 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); auto* value = new RegisterColumn(type, get_reg, set_reg);

View File

@ -40,7 +40,7 @@ private:
void OnItemChanged(QTableWidgetItem* item); void OnItemChanged(QTableWidgetItem* item);
void AddRegister(int row, int column, RegisterType type, std::string register_name, 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; QTableWidget* m_table;
bool m_updating = false; bool m_updating = false;