mirror of
https://github.com/RPCS3/rpcs3.git
synced 2025-08-09 17:49:45 +00:00
Make register editor dialog work
This commit is contained in:
parent
392a4bdc0b
commit
87194e5887
1 changed files with 1 additions and 1 deletions
|
@ -129,7 +129,7 @@ void register_editor_dialog::OnOkay(const std::shared_ptr<cpu_thread>& _cpu)
|
||||||
{
|
{
|
||||||
const auto cpu = _cpu.get();
|
const auto cpu = _cpu.get();
|
||||||
|
|
||||||
std::string reg = sstr(m_register_combo->itemData(m_register_combo->currentIndex()));
|
std::string reg = sstr(m_register_combo->currentText());
|
||||||
std::string value = sstr(m_value_line->text());
|
std::string value = sstr(m_value_line->text());
|
||||||
|
|
||||||
if (cpu->id_type() == 1)
|
if (cpu->id_type() == 1)
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue